4 ms·
For people not wanting to use Google, I've written a script "dateparse"[1] that allows to do the same: $ TZ=America/Chicago dateparse '2pm PT' 2pm PT:
by pflanze 5y ago
For people not wanting to use Google, I've written a script "dateparse"[1] that allows to do the same:
$ TZ=America/Chicago dateparse '2pm PT'
2pm PT: assuming PDT
1647464400 Wed Mar 16 16:00:00 CDT 2022
(You don't need to set TZ if your local time is already CT, of course.)
[1] https://github.com/pflanze/chj-bin/blob/master/dateparse https://github.com/pflanze/chj-bin/blob/master/dateparse