Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Explicit Conversion (OracleDateTime to DateTime)

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)

'Declaration
Public Shared Narrowing Operator CType ( _
	x As OracleDateTime _
) As DateTime

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

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0, 1.1
Show:
© 2015 Microsoft