Re: difference in seconds between two formatted dates ...
On Mon, Dec 25, 2023 at 12:24:55AM +0000, Albretch Mueller wrote:
> I am trying to use it in an
> obvious human readable way right in the file names.
With that restriction, "always use UTC" is going to be your best path
forward. It should be possible to convert a well-chosen human-readable
time/date format in UTC to epoch time, and vice versa.
How human-readable a UTC time/date string actually is will depend on the
human, of course. But every other choice is going to be more difficult,
or more error-prone, or both.
Reply to: