3 ms·
I use something similar, but I use -d "$*" instead of -d "$1" so I can do $ dates 4 hours ago One of two times "$*" had been useful
by hn92726819 3y ago
I use something similar, but I use -d "$*" instead of -d "$1" so I can do
$ dates 4 hours ago
One of two times "$*" had been useful
- arp242 3y agoI didn't know date supported that – can still do that with "tz '4 hours ago'". For me the most useful part is being able to quickly translate things like "let's do a video chat at 3pm PST" to something that makes sense, which is why it had the second argument to set the timezone.