TimeZoneInfo.IsDaylightSavingTime Method (DateTimeOffset)
Assembly: mscorlib (in mscorlib.dll)
The return value of TimeZoneInfo.IsDaylightSavingTime is affected by the relationship between the time zone represented by the TimeZoneInfo object and the Offset property of the dateTimeOffset parameter. If dateTimeOffset does not correspond to the current time zone's offset from Coordinated Universal Time (UTC), the method converts that time to the time in the current time zone. It then determines whether that date and time is a daylight saving time.
If the time zone represented by the TimeZoneInfo object does not support daylight saving time, the method always returns false.
XNA FrameworkWhen this method is used in the XNA Framework, it throws a NotSupportedException exception.