Share via


DaylightDate Field

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Specifies a date and a local time when the transition from standard time to daylight saving time will occur on this operating system.

Namespace:  Microsoft.SPOT
Assembly:  Microsoft.SPOT.Native (in Microsoft.SPOT.Native.dll)

Syntax

'Declaration
Public DaylightDate As SystemTime
public SystemTime DaylightDate
public:
SystemTime^ DaylightDate
val mutable DaylightDate: SystemTime
public var DaylightDate : SystemTime

Remarks

If a particular time zone does not support daylight saving time, or if the caller needs to disable daylight saving time, the Month field in the SystemTime object must be 0 (zero). If this date is specified, the StandardDate field in the current TimeZoneInformation object must also be specified. Otherwise, the system assumes that the time zone data is invalid and no changes are applied.

To select the correct day in a particular month, set the SystemTime object's Year member to 0 (zero), set the Hour and Minute members to the transition time, set the DayOfWeek member to the appropriate day of the week, and set the Day member to indicate the sequential occurrence of the specified day of the week within the specified month (that is, the first, second, third, fourth, or fifth occurrence of that day of the week in that month).

.NET Framework Security

See Also

Reference

TimeZoneInformation Class

Microsoft.SPOT Namespace