On Fri, 16 Feb 2024 23:17:12 -0000 (UTC), Lawrence D'Oliveiro
<
[email protected]d> wrote in <uqoqdo$25h4$
[email protected]>:
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.
ldo@theon:~> bc <<<"scale = 1; $(date +%s) / 86400"
19769.9
At one point I was using this for version numbers for my Android apps.
"No. of days since the Epoch" is also used in
(some?) /etc/shadow files to indicate
when a password expires, as well as
when it was last set.
--
-v
--- SoupGate-Win32 v1.05
* Origin: fsxNet Usenet Gateway (21:1/5)