This topic has not yet been rated - Rate this topic

DaylightTime.Delta Property

Gets the time interval that represents the difference between standard time and daylight saving time.

Namespace:  System.Globalization
Assembly:  mscorlib (in mscorlib.dll)
public TimeSpan Delta { get; }

Property Value

Type: System.TimeSpan
The time interval that represents the difference between standard time and daylight saving time.

This property corresponds to the TimeZoneInfo.AdjustmentRule.DaylightDelta property. Generally, the TimeZoneInfo class is a more accurate source of information on time zone adjustments than the TimeZone and DaylightTime classes.

If the property value is positive, at the start of daylight saving time, the clock time is advanced by the length of time specified by this property. At the end of daylight saving time, the clock time is set back by the length of time specified by this property. If the property value is negative, the clock time is set back at the start of daylight saving time and advanced at the end.

.NET Framework

Supported in: 4.5, 4, 3.5, 3.0, 2.0, 1.1, 1.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.