isInDaylightSavingTime() Function

Returns whether the given date and timezone are in daylight saving time.

Syntax

isInDaylightSavingTime( date, timezone )

date: (Date) The date in which the expression should evaluate.

timezone: (Text) The string Id of a timezone.

Returns

Boolean

Examples

You can copy and paste these examples into the Expression Rule Designer to see how this works.

isInDaylightSavingTime(date(2005,12,13),"America/Los_Angeles") returns false

Open in Github Built: Thu, Feb 23, 2023 (02:59:22 PM)

On This Page

FEEDBACK