Partager via


2.2.1.11.1.1.1.1.1 System Time (TS_SYSTEMTIME)

 The TS_SYSTEMTIME structure contains a date and local time when the transition occurs between daylight saving time to standard time occurs or standard time to daylight saving time.


0


1


2


3


4


5


6


7


8


9

1
0


1


2


3


4


5


6


7


8


9

2
0


1


2


3


4


5


6


7


8


9

3
0


1

wYear

wMonth

wDayOfWeek

wDay

wHour

wMinute

wSecond

wMilliseconds

wYear (2 bytes): A 16-bit, unsigned integer. This field MUST be set to zero.

wMonth (2 bytes): A 16-bit, unsigned integer. The month when transition occurs.

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 (2 bytes): A 16-bit, unsigned integer. The day of the week when transition occurs.

Value

Meaning

0

Sunday

1

Monday

2

Tuesday

3

Wednesday

4

Thursday

5

Friday

6

Saturday

wDay (2 bytes): A 16-bit, unsigned integer. The occurrence of wDayOfWeek within the month when the transition takes place.

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 (2 bytes): A 16-bit, unsigned integer. The hour when transition occurs (0 to 23).

wMinute (2 bytes): A 16-bit, unsigned integer. The minute when transition occurs (0 to 59).

wSecond (2 bytes): A 16-bit, unsigned integer. The second when transition occurs (0 to 59).

wMilliseconds (2 bytes): A 16-bit, unsigned integer. The millisecond when transition occurs (0 to 999).