Lawrence D'Oliveiro
2024-02-16 23:17:12 UTC
Here’s a command that produces date/time numbers reminiscent of
“stardates”: days (and fractions of a day) since 00:00:00 1-Jan-1970 UTC,
aka the Unix epoch.
***@theon:~> bc <<<"scale = 1; $(date +%s) / 86400"
19769.9
At one point I was using this for version numbers for my Android apps.
“stardates”: days (and fractions of a day) since 00:00:00 1-Jan-1970 UTC,
aka the Unix epoch.
***@theon:~> bc <<<"scale = 1; $(date +%s) / 86400"
19769.9
At one point I was using this for version numbers for my Android apps.