TimeZoneTimeZone

TimeZone 指定電腦的時區。TimeZone specifies the time zone of the computer.

如需可用時區的清單,請使用 tzutil /l 命令來查看 Windows 8 中可用的時區。For a list of available time zones, use the tzutil /l command to view the available time zones in Windows 8. 如需詳細資訊,請參閱 Tzutil Command-Line 選項For more information, see Tzutil Command-Line Options.

Values

Time_zoneTime_zone

指定電腦的時區。Specifies the time zone of the computer. Time_zone 是長度最大值為256個字元的字串。Time_zone is a string that has a maximum length of 256 characters.

如果未指定時區,Windows 會根據在回應檔案中指定的已安裝語言和區域,建立預設的時區值。If the time zone is not specified, Windows creates a default time zone value that is based on the installed language and region that are specified in an answer file.

如果區域有一個以上的時區,則會以資本或主要城市的位置來指定該區域的預設時區。If a region has more than one time zone, the default time zone for that region is specified by the location of a capital or a major city. 例如,如果指定 en-us, AUS Eastern Standard Time 則會使用做為預設時區,因為澳大利亞資本(坎培拉)使用澳大利亞東部標準時間。For example, if en-AU is specified, AUS Eastern Standard Time is used as the default time zone because the Australian capital, Canberra, uses Australian Eastern Standard Time. 如果將 en-us 指定為 UserLocale ,則 Windows 安裝的時區會預設為 Pacific Standard TimeIf en-US is specified as the UserLocale, the time zone of the Windows installation defaults to Pacific Standard Time.

注意Note

  • Windows 系統映射管理員 (Windows SIM) 中指定的時區未當地語系化。The time zones that are specified in Windows System Image Manager (Windows SIM) are not localized.

  • 格林威治標準時間 (GMT) 現在稱為國際標準時間 (UTC) 。Greenwich Mean Time (GMT) is now known as Coordinated Universal Time (UTC).

有效的設定階段Valid Configuration Passes

auditSystemauditSystem

oobeSystemoobeSystem

特殊化specialize

父階層Parent Hierarchy

Microsoft-Windows-Shell-設定 | 時區Microsoft-Windows-Shell-Setup | TimeZone

套用至Applies To

如需此元件所支援的 Windows 版本和架構清單,請參閱 Microsoft Windows Shell 安裝程式For a list of the Windows editions and architectures that this component supports, see Microsoft-Windows-Shell-Setup.

XML 範例XML Example

下列範例顯示如何將時區設定為中國標準時間 (UTC + 08: 00) 。The following example shows how to set the time zone to China Standard Time (UTC+08:00).

<TimeZone>China Standard Time</TimeZone>

下列範例顯示如何將時區設定為太平洋標準時間 (UTC-08:00) ,而不觀察日光節約時間 (UTC + 01: 00) 。The following example shows how to set the time zone to Pacific Standard Time (UTC-08:00) without observing daylight savings time (UTC+01:00).

<TimeZone>Pacific Standard Time_dstoff</TimeZone>

Microsoft-Windows-Shell-SetupMicrosoft-Windows-Shell-Setup

Tzutil Command-Line 選項Tzutil Command-Line Options