IsSameDayInAssociationTimeZone

Function: isSameDayInAssociationTimeZone()

[object Object]

Defined in: util/date.util.ts:118

Checks whether two instants fall on the same calendar day in the association's configured timezone. Unlike comparing Date#toDateString() directly, this doesn't depend on the viewer's own browser timezone, so it agrees with what formatDate actually renders.

Parameters

a

[object Object]

The first instant.

b

[object Object]

The second instant.

Returns

[object Object]

Whether a and b render as the same day in the association's timezone.

On this page