Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Set Time zone in OSX to UTC
sudo ln -sf /usr/share/zoneinfo/UTC /etc/localtime
@stiteler

This comment has been minimized.

Copy link

commented Feb 23, 2017

Thank you!

@jaseemabbas

This comment has been minimized.

Copy link

commented Mar 15, 2017

Worked!

@schavery

This comment has been minimized.

Copy link

commented Apr 23, 2018

still works on macOS 10.13.4

@ad-si

This comment has been minimized.

Copy link

commented May 21, 2019

There is also sudo systemsetup -settimezone GMT.
Not sure what difference it makes …

@j-walker23

This comment has been minimized.

Copy link

commented Jul 24, 2019

Does removing the link revert it back?

@deepeeess

This comment has been minimized.

Copy link

commented Jul 24, 2019

@j-walker23 just setting it in the system preferences updates the symlink, I verified it.

@j-walker23

This comment has been minimized.

Copy link

commented Jul 27, 2019

@deepeeess Thanks for the response! I was looking for a easy progrmatic way to flip back and forth. Which I'm sure there is.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.