Redigera

Dela via


DaylightTime.Start Property

Definition

Gets the object that represents the date and time when the daylight saving period begins.

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

Property Value

The object that represents the date and time when the daylight saving period begins. The value is in local time.

Remarks

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

When the daylight saving period begins, the clock time is advanced by the number of ticks defined by the Delta property to take advantage of the extended daylight hours.

Applies to

See also