This documentation is archived and is not being maintained.

OracleDateTime.GreaterThan Method

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

Compares two instances of OracleDateTime to determine if the first is greater than the second.

[Visual Basic]
Public Shared Function GreaterThan( _
   ByVal x As OracleDateTime, _
   ByVal y As OracleDateTime _
) As OracleBoolean
public static OracleBoolean GreaterThan(
 OracleDateTime x,
 OracleDateTime y
public: static OracleBoolean GreaterThan(
 OracleDateTime x,
 OracleDateTime y
public static function GreaterThan(
   x : OracleDateTime,
 y : OracleDateTime
) : OracleBoolean;


An OracleDateTime structure.
An OracleDateTime structure.

Return Value

An OracleBoolean that is True if the first instance is greater than the second instance, otherwise False. If either instance of OracleByte is null, the Value of the OracleBoolean will be Null.


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