Partager via


2.2.1.11.1.1.1.1 Time Zone Information (TS_TIME_ZONE_INFORMATION)

The TS_TIME_ZONE_INFORMATION structure contains client time zone information.


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

Bias

StandardName (64 bytes)

...

...

StandardDate (16 bytes)

...

...

StandardBias

DaylightName (64 bytes)

...

...

DaylightDate (16 bytes)

...

...

DaylightBias

Bias (4 bytes): A 32-bit, unsigned integer that contains the current bias for local time translation on the client. The bias is the difference, in minutes, between Coordinated Universal Time (UTC) and local time. All translations between UTC and local time are based on the following formula:

UTC = local time + bias

StandardName (64 bytes): An array of 32 Unicode characters. The descriptive name for standard time on the client.

StandardDate (16 bytes): A TS_SYSTEMTIME (section 2.2.1.11.1.1.1.1.1) structure that contains the date and local time when the transition from daylight saving time to standard time occurs on the client. If this field contains a valid date and time, then the DaylightDate field MUST also contain a valid date and time. If the wYear, wMonth, wDayOfWeek, wDay, wHour, wMinute, wSecond, and wMilliseconds fields are all set to zero, then the client does not support daylight saving time.

StandardBias (4 bytes): A 32-bit, unsigned integer that contains the bias value to be used during local time translations that occur during standard time. This value is added to the value of the Bias field to form the bias used during standard time. This field MUST be ignored if a valid date and time is not specified in the StandardDate field or the wYear, wMonth, wDayOfWeek, wDay, wHour, wMinute, wSecond, and wMilliseconds fields of the StandardDate field are all set to zero.

DaylightName (64 bytes): An array of 32 Unicode characters. The descriptive name for daylight saving time on the client.

DaylightDate (16 bytes): A TS_SYSTEMTIME (section 2.2.1.11.1.1.1.1.1) structure that contains a date and local time when the transition from standard time to daylight saving time occurs on the client. If this field contains a valid date and time, then the StandardDate field MUST also contain a valid date and time. If the wYear, wMonth, wDayOfWeek, wDay, wHour, wMinute, wSecond, and wMilliseconds fields are all set to zero, then the client does not support daylight saving time.

DaylightBias (4 bytes): A 32-bit, unsigned integer that contains the bias value to be used during local time translations that occur during daylight saving time. This value is added to the value of the Bias field to form the bias used during daylight saving time. This field MUST be ignored if a valid date and time is not specified in the DaylightDate field or the wYear, wMonth, wDayOfWeek, wDay, wHour, wMinute, wSecond, and wMilliseconds fields of the DaylightDate field are all set to zero.