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