Export (0) Print
Expand All

OracleDateTime Structure

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

Represents date and time data ranging in value from January 1, 4712 BC. to December, 31, 4712 AD.

For a list of all members of this type, see OracleDateTime Members.

System.Object
   System.ValueType
      System.Data.OracleClient.OracleDateTime

[Visual Basic]
Public Structure OracleDateTime
   Implements IComparable, INullable
[C#]
public struct OracleDateTime : IComparable, INullable
[C++]
public __value struct OracleDateTime : public IComparable,
   INullable

[JScript] In JScript, you can use the structures in the .NET Framework, but you cannot define your own.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Remarks

To obtain an OracleDateTime object, call the GetOracleDateTime method.

The minimum valid date for an OracleDateTime structure is 1/1/0001 00:00:00. However, Oracle supports dates as early as January 1, 4712 BC. To bind BC dates, use a String parameter and the Oracle TO_DATE or TO_CHAR conversion functions for input and output parameters respectively.

Requirements

Namespace: System.Data.OracleClient

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

Assembly: System.Data.Oracleclient (in System.Data.Oracleclient.dll)

See Also

OracleDateTime Members | System.Data.OracleClient Namespace

Show:
© 2014 Microsoft