DateTime.isDaylightSavings

bool isDaylightSavings()

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

Returns

true if daylight savings time is in effect