aboutsummaryrefslogtreecommitdiff

timetolocal

converts a time from a different timezone to your local time.

Build

make

Usage

./timetolocal [TIME (24hs)] [ZONE]

Example:

./timetolocal 7:15 est

also get relative times like ./timetolocal [ZONE] Example:

./timetolocal est

or find which zone has a given time right now like ./timetolocal [TIME (24hs)] Example:

./timetolocal 7:15 est

Zone names are not case sensitive. abbreviations come from tztable.h

Installing

sudo make install