TIME_ZONE_INFORMATION是一种用于电脑系统的函式。
基本介绍
- 名称:TIME_ZONE_INFORMATION
- LONG:Bias
- WCHAR:[32]
- SYSTEMTIME:StandardDate
定义
typedef struct _TIME_ZONE_INFORMATION {
LONG Bias;
WCHAR StandardName[32];
SYSTEMTIME StandardDate;
LONG StandardBias;
WCHAR DaylightName[32];
SYSTEMTIME DaylightDate;
LONG DaylightBias;
} TIME_ZONE_INFORMATION;
说明
This structure contains information about the time zone for this system.
参数说明
栏位 | 类型与说明 |
Bias | int,Used to translate local time into coordinated universal time (UTC) time. The bias is the difference, in minutes, between UTC and local time. The following formula is used: UTC = local time + bias. |
StandardName | 返回的是unicode字元串,应使用string.fromUnicode()转换 |
StandardDate | SYSTEMTIME,Contains a double and UTC time describing when the transition from daylight time to standard time occurs on this system. Set the wMonth field to zero to ignore this field. |
StandardBias | int,Value to add to the Bias field when standard time is in effect. Ignored if StandardDate is not used. |
DaylightName | 返回的是unicode字元串,应使用string.fromUnicode()转换 |
DaylightDate | SYSTEMTIME,Contains a double and UTC time describing when the transition from standard time to daylight time occurs on this system. Set the wMonth field to zero to ignore this field. |
DaylightBias | int,Value to add to the Bias field when daylight saving time is in effect. Ignored if DaylightDate is not used. |