This documentation is archived and is not being maintained.

OracleTimeSpan Structure

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

Represents a time interval and corresponds to the Oracle 9i INTERVAL DAY TO SECOND data type.

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


[Visual Basic]
Public Structure OracleTimeSpan
   Implements IComparable, INullable
public struct OracleTimeSpan : IComparable, INullable
public __value struct OracleTimeSpan : public IComparable,

[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.


The Oracle INTERVAL DAY TO SECOND data type (Oracle 9i or later) contains an interval of time in days, hours, minutes, and seconds, and has a fixed size of 11 bytes.

To obtain an OracleTimeSpan object, call the GetOracleTimeSpan method.


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

OracleTimeSpan Members | System.Data.OracleClient Namespace