DateTime.operator <= Method
Determines whether one DateTime is less than or equal to another one.
Namespace: System
Assembly: mscorlib (in mscorlib.dll)
Syntax
public static bool operator <= (
DateTimet1,
DateTimet2
)
Parameters
- t1
A DateTime value that represents the first operand. - t2
A DateTime value that represents the second operand.
Return Value
true if the t1 object is less than or equal to the t2 object; otherwise, false.
Version Information
Available in the .NET Micro Framework versions 2.0, 2.5, 3.0, 4.0, and 4.1.