DateTime.equal

Checks to see if @dt1 and @dt2 are equal.

Equal here means that they represent the same moment after converting them to the same time zone.

class DateTime
static
bool
equal

Parameters

dt1 DateTime

a #GDateTime

dt2 DateTime

a #GDateTime

Return Value

Type: bool

%TRUE if @dt1 and @dt2 are equal

Meta

Since

2.26