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:
property TimeSpan Delta {
	TimeSpan 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
Available since 1.1
Return to top
Show: