Here is how to quickly calculate the days since a date, like your birthday from commandline bash:
export START=1979-05-28 && echo $((($(date +%s)-$(date +%s --date "$START"))/(3600*24))) days
Unfortunately obfuscatory, and bash already doesn't need any help with that
Please Login to reply.
Can you simplify?
I bet ChatGPT would have a proposal
Try it