OracleDateTime Narrowing Conversion (OracleDateTime to DateTime)


Converts an OracleDateTime structure to a DateTime structure.

Namespace:   System.Data.OracleClient
Assembly:  System.Data.OracleClient (in System.Data.OracleClient.dll)

Public Shared Narrowing Operator CType (
	x As OracleDateTime
) As Date

Return Value

Type: System.DateTime

A DateTime structure whose Date and TimeOfDay properties contain the same date and time values as the Value property of the supplied OracleDateTime structure.

.NET Framework
Available since 1.1
Return to top