DEV Community

Cover image for Command Prompt - Set Timezone
Dan Wheeler
Dan Wheeler

Posted on

Command Prompt - Set Timezone

Copy the following code into a Command Prompt window - when run it will change the timezone of the computer:

TZUTIL /s "GMT Standard Time"
Enter fullscreen mode Exit fullscreen mode

Naturally, you can change this to any timezone, not just GMT. To see a list of all available timezones, use:

TZUTIL /l
Enter fullscreen mode Exit fullscreen mode

This will print out a list of them all.

Top comments (0)

A Workflow Copilot. Tailored to You.

Pieces.app image

Our desktop app, with its intelligent copilot, streamlines coding by generating snippets, extracting code from screenshots, and accelerating problem-solving.

Read the docs

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay