Share via


Tzutil

 

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

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:

  • <display name>

  • <time zone ID>

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

Additional references