Share via


2.2.2.19.1.1 TS_SYSTEMTIME

 Information about a time zone. This structure is identical to the structure SYSTEMTIME. For more information, see [MSDN-SYSTIME].

 typedef struct _TS_SYSTEMTIME {
   USHORT wYear;
   USHORT wMonth;
   USHORT wDayOfWeek;
   USHORT wDay;
   USHORT wHour;
   USHORT wMinute;
   USHORT wSecond;
   USHORT wMilliseconds;
 } TS_SYSTEMTIME;

wYear: The year when transition from daylight saving time to standard time occurs (1601 to 30827).

wMonth: The month when transition from daylight saving time to standard time occurs.

This member can be one of the following values.

Value

Meaning

1

January

2

February

3

March

4

April

5

May

6

June

7

July

8

August

9

September

10

October

11

November

12

December

wDayOfWeek: The day of the week when the transition from daylight saving time to standard time occurs.

This member can be one of the following values.

Value

Meaning

0

Sunday

1

Monday

2

Tuesday

3

Wednesday

4

Thursday

5

Friday

6

Saturday

wDay: The occurrence of wDayOfWeek within the month when the transition from daylight saving time to standard time takes place.

This member can be one of the following values.

Value

Meaning

1

First occurrence of wDayOfWeek

2

Second occurrence of wDayOfWeek

3

Third occurrence of wDayOfWeek

4

Fourth occurrence of wDayOfWeek

5

Last occurrence of wDayOfWeek

wHour: The hour when transition from daylight saving time to standard time occurs (0 to 23).

wMinute: The minute when transition from daylight saving time to standard time occurs (0 to 59).

wSecond: The second when transition from daylight saving time to standard time occurs (0 to 59).

wMilliseconds: The millisecond when transition from daylight saving time to standard time occurs (0 to 999).