Determines whether one DateTime value is greater than a specified DateTime.
[C#] public static bool operator >( DateTime t1, DateTime t2 ); [C++] public: static bool operator op_GreaterThan( DateTime t1, DateTime t2 ); [JScript] returnValue = t1 > t2;
[Visual Basic] In Visual Basic, you cannot use the operators defined by a type, nor override them or define your own.
[JScript] In JScript, you can use the operators defined by a type, but you cannot override them or define your own.
true if the first DateTime is greater than the second DateTime; otherwise, false.
This operator determines whether the first DateTime value is greater than the second DateTime value (t1 > t2) and returns a Boolean value that represents their relationship.
DateTime Structure | DateTime Members | System Namespace | Boolean