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 |
---|
|
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).
Copy Code | |
---|---|
<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).
Copy Code | |
---|---|
<TimeZone>Pacific Standard Time_dstoff</TimeZone> |