Tzutil
Updated: April 17, 2012
Applies To: Windows 7, Windows Server 2003, Windows Server 2003 R2, Windows Server 2008, Windows Server 2008 R2, Windows Server 7, Windows Vista, Windows XP
Displays the Windows Time Zone Utility. For examples of how this command can be used, see Examples.
Syntax
tzutil [/?] [/g] [/s <TimeZoneID>[_dstoff]] [/l]
Parameters
Parameter | Description |
---|---|
/? |
Displays Help at the command prompt. |
/g |
Displays the current time zone ID. |
/s <TimeZoneID>[_dstoff] |
Sets the current time zone using the specified time zone ID. The _dstoff suffix disables Daylight Saving Time adjustments for the time zone (where applicable). |
/l |
Lists all valid time zone IDs and display names. The output will be:
|
Remarks
An exit code of 0 indicates the command completed successfully.
Examples
To display the current time zone ID, type:
tzutil /g
To set the current time zone to Pacific Standard Time, type:
tzutil /s Pacific Standard Time
To set the current time zone to Pacific Standard Time and disable Daylight Saving Time adjustments, type:
tzutil /s Pacific Standard Time_dstoff