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 offline

No affiliate links, no analytics, no tracking, no cookies. This work © 2016-2024 by yctct is licensed under CC BY-ND 4.0 .   about me   contact me   all entries & tags   FAQ   GPG public key

GPG fingerprint: 2E0F FB60 7FEF 11D0 FB45 4DDC E979 E52A 7036 7A88