DateTime.after()

Signature

boolean after (DateTime d1, DateTime d2)

Domain

action, condition

Description

Test if the first DateTime passed comes after the second DateTime passed.

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