This is dates, a command-line tool for doing date arithmetic.
go install github.com/bobg/dates@latestIn all of the following cases,
a date argument can be the string today
to mean today’s date.
dates add DATE NShow the date resulting from adding N dates to the given DATE. N can be negative.
dates delta DATE1 DATE2Show the number of days from DATE1 to DATE2. The result is positive if DATE1 is before DATE2 and negative if DATE1 is after DATE2.
dates since DATEShow the number of days since DATE.
This is the same as dates delta DATE today.
dates until DATEShow the number of days until DATE.
This is the same as dates delta today DATE.