On Jul 07 2024, Richard Neill wrote:
> I've noticed a lot of systems now return the timestamp in milliseconds
> since the epoch, rather than seconds. This means that e.g.
>
> date --date='@1720378861258'
>
> will do something rather unexpected!
>
> May I suggest that it would be nice if date had an input format that would
> let me specify that the value is in ms?
$ date --date='@1720378861.258' --rfc-3339=ns
2024-07-07 21:01:01.258000000+02:00
--
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC1
"And now for something completely different."