Equality Operator

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Determines whether two specified instances of DateTime are equal.

Namespace:  System
Assembly:  mscorlib (in mscorlib.dll)

static let inline (=)
        d1:DateTime * 
        d2:DateTime  : bool

Parameters

d1
Type: System..::..DateTime
The first object to compare.
d2
Type: System..::..DateTime
The second object to compare.

Return Value

Type: System..::..Boolean
true if d1 and d2 represent the same date and time; otherwise, false.

Show: