July 16, 2023

Show local time for a given time and date of a different time zone

To show local time for a time and date in a different time zone, for example local time when it will be 09:00 am in New York tomorrow, run:

$ date --date='TZ="America/New_York" 09:00 tomorrow'

or to show local time when it will be 09:00 in New York next Friday, run:

$ date --date='TZ="America/New_York" 09:00 next Fri'

To find the TZ value of a time zone, run:

$ tzselect

personal computing office applications gnu linux trisquel command-line interface (cli) wiki shell literacy

No affiliate links, no analytics, no tracking, no cookies. © 2016-2023 yctct.com. Content is licensed under CC BY-NC-SA 4.0 .