IsDaylightSavings
Mon 01 January 2018Syntax
IsDaylightSavings(datetime, {timezone | "Local" | "Base"})
Description
Use the IsDaylightSavings function to determine if daylight saving time is active in the specified time zone at the specified date and time. For time zones that donât observe daylight saving time, this function always returns False.
The systemâs base time zone is specified on the PSOPTIONS table.
Parameters
Field or Control |
Definition |
---|---|
datetime |
The DateTime value you want to check. |
timezone | Local | Base |
Specify a value for converting datetime . The values are:
|
Returns
A Boolean value: True if daylight saving time is active in the specified time zone at the specified date and time. Returns False otherwise.