Tzutil.exe is a new command in Windows 7, which was not provided in XP. Using this command we can set/find the time zone settings from windows command prompt.
Get the current time zone :
We can find the current time zone by running the following command.
tzutil /g
Example:
c:\>tzutil /g Pacific Standard Time c:\>
Set time zone:
tzutil /s "time zone identifier"
Examples:
To set the time zone to Eastern Time
tzutil /s "Eastern Standard Time"
I tried this command on my computer, and below are the results.
C:\>tzutil /g Pacific Standard Time C:\>time /t 10:26 AM C:\>tzutil /s "Eastern Standard Time" C:\>tzutil /g Eastern Standard Time C:\>time /t 01:27 PM C:\>
Get the list of time zones
Run the command ‘tzutil /l‘ to get the list of time zones available.
Thank you very much!!!