isInDaylightSavingTime() Function

Function

isInDaylightSavingTime( date, timezone )

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

Parameters

Keyword Type Description

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: Tue, May 23, 2023 (06:12:33 PM)

On This Page

FEEDBACK