This documentation is archived and is not being maintained.
DateTime::IsDaylightSavingTime Method
Visual Studio 2010
Indicates whether this instance of DateTime is within the daylight saving time range for the current time zone.
Assembly: mscorlib (in mscorlib.dll)
Return Value
Type: System::Booleantrue 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.
On Windows XP systems, the IsDaylightSavingTime method recognizes only the current adjustment rule when determining whether the current instance is a daylight saving time. As a result, the method may not accurately report whether the current instance is a daylight saving time for periods before the current adjustment rule came into effect.
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Show: