OracleDateTime Explicit Conversion (OracleDateTime to DateTime)


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Converts an OracleDateTime structure to a DateTime structure.

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

public static explicit operator DateTime (
	OracleDateTime x

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