This documentation is archived and is not being maintained.

OracleDateTime to DateTime Conversion

.NET Framework 1.1
Note: This namespace, class, or member is supported only in version 1.1 of the .NET Framework.

Converts an OracleDateTime structure to a DateTime structure.

[Visual Basic]
returnValue = OracleDateTime.op_Explicit(x)
[C#]
public static explicit operator DateTime(
 OracleDateTime x
);
[C++]
public: static DateTime op_Explicit();
[JScript]
returnValue = DateTime(x);

[Visual Basic] In Visual Basic, you can use the conversion operators defined by a type, but you cannot define your own.

[JScript] In JScript, you can use the conversion operators defined by a type, but you cannot define your own.

Arguments [Visual Basic, JScript]

x
An OracleDateTime structure.

Parameters [C#]

x
An OracleDateTime structure.

Return Value

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

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

.NET Framework Security: 

See Also

OracleDateTime Structure | OracleDateTime Members | System.Data.OracleClient Namespace

Show: