DateWithZone.Equality OperatorDateWithZone.Equality OperatorDateWithZone::Equality Operator

Indicates whether a specified DateWithZoneDateWithZoneDateWithZone is equal to another specified DateWithZoneDateWithZoneDateWithZone.

Syntax

Public Shared Operator =( _
    date1 As DateWithZone, _
    date2 As DateWithZone _
) As Boolean
public static bool operator ==(
    DateWithZone date1,
    DateWithZone date2
)
public:
static bool operator ==(
    DateWithZone date1, 
    DateWithZone date2
)
 

Return Value

Type: System.BooleanSystem.BooleanSystem::Boolean

trueTruetrue if the two dates are equal, falseFalsefalse otherwise.