DateTime.IsDaylightSavingTime Method
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
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)
Syntax
Public Function IsDaylightSavingTime As Boolean
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.
Version Information
Windows Phone OS
Supported in: 8.1, 8.0, 7.1, 7.0
Platforms
Windows Phone