DateTime.isDaylightSavings

Determines if daylight savings time is in effect at the time and in the time zone of @datetime.

class DateTime
bool
isDaylightSavings
()

Return Value

Type: bool

%TRUE if daylight savings time is in effect

Meta

Since

2.26