共用方式為


Tzutil Command-Line Options

Applies To: Windows 8, Windows 8.1, Windows Server 2012, Windows Server 2012 R2

You can use the Windows® Time Zone Utility (Tzutil) to manage available time zones. Time zone values are subject to change and are updated in the Windows registry through Windows update.

You can run Tzutil from a command prompt.

Tzutil is included with Windows® 8 and Windows Server® 2012 in the %WINDIR%\System32 folder.

TZUTIL Command-Line Options

The following command-line options are available for tzutil.exe:

TZUTIL </? | /g | /l | /s TimeZoneValue[_dstoff]>

Option Description

/?

Displays usage information.

/g

Displays the current time zone value.

/l

Lists all valid time zone values and display names in the following format:

<display name>

<time zone value>

/s

Sets the time zone to the time zone value that you specify.

The _dstoff suffix disables daylight savings time adjustments for the time zone (where applicable).

Examples

The following example displays the current time zone.

tzutil /g

The following example lists all available time zones. The example uses the "| more" operator to display the results one full screen at a time.

tzutil /l | more

The following example sets the time zone to China Standard Time (UTC+8:00).

tzutil /s "China Standard Time"

The following example sets the time zone to Pacific Standard Time (UTC-08:00), without observing daylight savings time (UTC+1:00).

tzutil /s "Pacific Standard Time_dstoff"

See Also

Other Resources

Windows Deployment Command-Line Tools Reference