Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

TimeZoneInfo::AdjustmentRule::DaylightDelta Property

 

Gets the amount of time that is required to form the time zone's daylight saving time. This amount of time is added to the time zone's offset from Coordinated Universal Time (UTC).

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

public:
property TimeSpan DaylightDelta {
	TimeSpan get();
}

Property Value

Type: System::TimeSpan

A TimeSpan object that indicates the amount of time to add to the standard time changes as a result of the adjustment rule.

The following formula defines a time zone's daylight saving time:

TimeZoneTime = BaseUtcOffset + DaylightDelta + UtcTime

The value of the DaylightDelta property can range from 14 hours to -14 hours.

System_CAPS_noteNote

   The DaylightDelta property measures the difference between the time zone’s standard time and its daylight saving time. It does not apply to changes in a time zone's standard offset from Coordinated Universal Time (UTC). To represent a time zone that has changed its standard time offset from UTC, you must call the CreateCustomTimeZone method to create a new time zone.

The most common value of the DaylightDelta property is 1.0 hours. The application of the daylight saving time adjustment rule increases the time zone's offset from Coordinated Universal Time (UTC) by one hour.

.NET Framework
Available since 3.5
Return to top
Show:
© 2017 Microsoft