--- title: "dateIsDaylight" description: "Checks to see if the current timezone is using daylight savings time during the date specified." --- # dateIsDaylight > Checks to see if the current timezone is using daylight savings time during the date specified. **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 | Type | Parameter | Description | |------|-----------|--------------------------------------------------------------------------------| | Date | `date` | The date to use for the check. If omitted, the current date will be used. [optional] | ### Returns **Boolean** - Returns true if the current time zone is using Daylight Saving Time during the specified date, or false otherwise. ## Examples ```python title="Code Snippet" dateIsDaylight(toDate("2007-06-28 00:00:00")) // Will return True in the US/Pacific Timezone, due to that time zone's observation of Daylight Saving Time on the specified date. ```