isDST
Checks if a date falls within a Daylight Saving Time period.
isDST()
Checks if a date falls within a Daylight Saving Time period.
Signature
isDST(): booleanReturn Type
boolean - Returns true if the date is in Daylight Saving Time for the current timezone
Note
- Detection is based on the system's timezone settings
- Only accurate for timezones that observe DST
Example
playground.ts
Advice
It is advised not to rely on this method when an instance is created by timeZone method.
Last updated: Wed, Jun 24, 2026 09:04:13AM (UTC)
