-
-
Save ddre54/1e217fbd7e28b5e864dfac31759e66e7 to your computer and use it in GitHub Desktop.
# Useful for testing things that are time zone | |
# sensitive - like scheduling things | |
# Get current timezone | |
sudo systemsetup -gettimezone | |
# Get list of available timezones | |
sudo systemsetup -listtimezones | |
# Set the timezone to the selected timezone | |
# sudo systemsetup -settimezone <timezone> | |
sudo systemsetup -settimezone America/New_York | |
sudo systemsetup -settimezone Europe/Paris |
Good morning ddre54
No, there will be nolist by UTC... only google and manual check-out will give you the list but there exist DST (summer time) which is also linked to the city... so at winter it can be different timezone:)
When you set time like this (from terminal) for cities which not listed in common list (check "world time" section where you can add extra clock) and after you go to settings - date and time, you can see that the timezone city is Head office California (do not remember exactly) and you will not be able to change the timezone any more from settings window, only from terminal. You will be able to change it again by setting "approved list" city from terminal, then list from "settings window" will be restored back to normal.
But what to do with iphone or ipad? Over there I am not able to "cheat" like on mac🤔
"I have a dream" (C) that one day Apple will fix that🤓
Thank U! It's work for me.
Hi @holdfast-m,
I did a quick check for the
UTC-X
time zones:UTC-11
:Pacific/Niue
- See: Pacific/Niue - UTC-11UTC-9
:Pacific/Gambier
- See: Pacific/Gambier - UTC-9Overall, you could search in Google for a region with
UTC-X
in time zone, and then use the name togrep
on the list of available time zones:Note:
UTC-X
to the list given bysudo systemsetup -listtimezones
output, without querying external sources like Google yet.