inDaylightTime (JavaScript)
Queries if the given date is in daylight saving time in this time zone.
Defined in
TimeZone (JavaScript)Syntax
inDaylightTime(Date:Date) : boolean
Parameters | Description |
---|---|
Date |
The TimeZone object to be compared with. |
Return value | Description |
---|---|
boolean |
True if the given date is in daylight saving time, false, otherwise. |