rejon on Nostr: Here is how to quickly calculate the days since a date, like your birthday from ...
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
Published at
2023-08-23 02:17:49Event JSON
{
"id": "c518088f43708b6fe31ff820b98a35a6fa86165f28ed6e8aa821899aca50cb62",
"pubkey": "df57b4986a2c659965c3df95ca3fea3533a207b09bf2c55a70d406c7d049124f",
"created_at": 1692757069,
"kind": 1,
"tags": [],
"content": "Here is how to quickly calculate the days since a date, like your birthday from commandline bash:\n\nexport START=1979-05-28 \u0026\u0026 echo $((($(date +%s)-$(date +%s --date \"$START\"))/(3600*24))) days\n",
"sig": "862e547363e79ccc9a167784b8ab83b904a3b19bda30e487ad4948fe4d179d8abcb753094d2455d07ac60b8859e4ff1839838d85a665fbbbd1cea258bdd118c5"
}