Bash Script Date and Time

1 min read bash

Written in 2020. Tools, APIs and prices may have changed since.

Lab note What I wrote down while learning this by building with it. Short by design; the code is in pfeilbr/bash-script-date-and-time-playground.

examples of working with formatted dates in bash including time operations such as adding time

see main.sh

Running

chmod a+x main.sh 
fswatch -o main.sh  | xargs -n1 -I{} sh main.sh

Keep learning

Get new guides and courses by email

An occasional email when I publish a new guide, course or post. No spam, and you can unsubscribe any time.

Sent with Buttondown. I never share your address. Prefer a feed? Use the RSS feed.