Maybe not what the article is exactly talking about, but `cal` will give you a calendar in terminal. `cal -3` will give you each surrounding month, and `cal 2022` will give you the full year
now() {
cal -3
echo
echo -n "Local: "
date --rfc-3339=s
echo -n "UTC: "
date -u --rfc-3339=s
echo -n "New York "
TZ='America/New_York' date --rfc-3339=s
echo -n "London: "
TZ='Europe/London' date --rfc-3339=s
echo -n "New Zealand: "
TZ='Pacific/Auckland' date --rfc-3339=s
}ie, I just want to see April of this year: but `cal 4` returns Jan-Dec 0004 CE <!>
`cal -3` is perfect!
~ $ cal apr
cal: year `apr' not in range 1..9999
ncal -b -M -w -B 1 -A 1
speaking of, cal is just a calendar. It doesn't have events anyway.