Прочитај на енглеском Уреди

Делите путем


DaylightTime.Start Property

Definition

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

C#
public DateTime Start { get; }

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

Производ Верзије
.NET Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9, 10
.NET Framework 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
.NET Standard 2.0, 2.1

See also