Determines whether two DateTime values are not equal.
[C#] public static bool operator !=( DateTime d1, DateTime d2 ); [C++] public: static bool operator op_Inequality( DateTime d1, DateTime d2 ); [JScript] returnValue = d1 ! = d2;
[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 two DateTime values do not represent the same date and time; otherwise, false.
This operator compares two DateTime values (d1 and d2) to determine they are not equal and returns a Boolean value that represents their are inequality.
DateTime Structure | DateTime Members | System Namespace | Boolean