Date.after()

Signature

boolean after (DateTime d1, DateTime d2)

Domain

action, condition

Description

Test if the first date comes "after" 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 comes after d2, otherwise return false.

Cautions

none