Share via


TimeZoneInformation.DaylightDate Field

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

public TimeZoneInformation DaylightDate

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).

Version Information

Available in the .NET Micro Framework versions 2.0, 2.5, 3.0, 4.0, 4.1, and 4.2.

See Also

Reference

TimeZoneInformation Class
TimeZoneInformation Members
Microsoft.SPOT Namespace