Bewerken

Share via


DaylightTime.Delta Property

Definition

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

public:
 property TimeSpan Delta { TimeSpan get(); };
public TimeSpan Delta { get; }
member this.Delta : TimeSpan
Public ReadOnly Property Delta As TimeSpan

Property Value

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

Remarks

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.

Applies to

See also