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

specializespecialize

父层次结构Parent Hierarchy

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