equals

equals(value)

Returns a value indicating whether this instance is equal to a specified object.

ParameterTypeDescription
valueObjectAn object to compare to this instance.

Returns: true if value is an instance of DateTime and equals the value of this instance; otherwise, false.