3 ms·
I doubt most of my colleagues even know what their offset is – keeping track of that with DST is just not fun. Personally I just Google e.g. "2pm PT in CT," as
by lelandfe 5y ago
I doubt most of my colleagues even know what their offset is – keeping track of that with DST is just not fun. Personally I just Google e.g. "2pm PT in CT," as Google has an info box that handles time conversions and is smart enough to know when you want DST.
- pflanze 5y agoFor 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