DateTime.IsDaylightSavingTime Method

July 28, 2014

Indicates whether this instance of DateTime is within the Daylight Saving Time range for the current time zone.

Namespace:  System
Assembly:  mscorlib (in mscorlib.dll)

public bool IsDaylightSavingTime()

Return Value

Type: System.Boolean
true if Kind is Local or Unspecified, and the value of this instance of DateTime is within the Daylight Saving Time range for the current time zone; false if Kind is Utc.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2014 Microsoft