dateIsDaylight
This function is used by Ignition's Expression language.
Description​
Checks to see if the current timezone is using daylight savings time during the date specified. Will use the current date if no date is specified.
Syntax​
dateIsDaylight([date])
Parameters
- Date date - Optional. The date to use. Will use the current date if omitted.
Results
- Bool - True if the current timezone is using daylight savings time during the specified date.
Code Examples​
Code Snippet
dateIsDaylight(toDate("2007-06-28 00:00:00")) //Will print True in the US Pacific Timezone.