IsLocalTimeDST (open)

Check if daylight saving time is applied to the given local time in the given time zone

Syntax

LOADLIB "wh::util/localization.whlib";

BOOLEAN FUNCTION IsLocalTimeDST(DATETIME date, STRING timezone)

Parameters

DATETIME date

Local date and time to check

STRING timezone

Time zone the local time is in

Return value

BOOLEAN

If daylight saving time is applied to the given local time in the given time zone