Date.equals()

Signature

boolean equals (DateTime d1, DateTime d2)

Domain

action, condition

Description

Test if the first date is the same as the second date, independently of the time of day.

Parameters

NameTypeDescription
d1DateTimeA DateTime (date/time) that will be compared with the second argument.
d2DateTimeA DateTime (date/time) that will be compared with the first argument.

Returns

TypeDescription
booleantrue if d1 is the same as d2, otherwise return false.

Cautions

none