Partilhar via


TimeZone

Applies To: Windows 7, Windows 8, Windows 8.1, Windows Server 2008, Windows Server 2008 R2, Windows Server 2012, Windows Server 2012 R2, Windows Vista

TimeZone specifies the time zone of the computer.

For a list of available time zones, use the tzutil /l command to view the available time zones in Windows® 8. For more information, see Tzutil Command-Line Options.

Values

Time_zone

Specifies the time zone of the computer. Time_zone is a string that has a maximum length of 256 characters.

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. 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. If en-US is specified as the UserLocale, the time zone of the Windows installation defaults to Pacific Standard Time.

Note

  • The time zones that are specified in Windows System Image Manager (Windows SIM) are not localized.

  • Greenwich Mean Time (GMT) is now known as Coordinated Universal Time (UTC).

  • Valid Configuration Passes

    auditSystem

    oobeSystem

    specialize

    Parent Hierarchy

    Microsoft-Windows-Shell-Setup | TimeZone

    Applies To

    For a list of the Windows editions and architectures that this component supports, see Microsoft-Windows-Shell-Setup.

    XML Example

    The following example shows how to set the time zone to China Standard Time (UTC+08:00).

    <TimeZone>China Standard Time</TimeZone>
    

    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>
    

    See Also

    Concepts

    Microsoft-Windows-Shell-Setup

    Other Resources

    Tzutil Command-Line Options