Hacker News new | ask | show | jobs
by hn92726819 901 days 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
1 comments

I 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.