date

date is a tool to do all kind of operations on dates: print, format, convert, etc. It is part of the GNU coreutils.

Convert between timezones

To convert a datetime to your current time zone, use:

date --date='TZ="America/Montreal" 2026-12-31 18:00'  # converts specified datetime from America/Montreal to local TZ

To convert from your current time zone to another, use:

TZ=America/Vancouver date  # converts current local time to America/Vancouver

More generally, to convert datetimes of one time zone to another time zone, use:

TZ=America/Vancouver date -d "2026-12-31 19:00 UTC"  # converts specified datetime from UTC to America/Vancouver

Warning

Some of the three letter code time zone abbreviations are ambiguous.