When I type date +%s
into a terminal, is the resulting timestamp given in UTC
or is it dependent on my system locale setting? Is there a way to check?
Is there a standard for this across OS's?
From man date
:
%s seconds since 1970-01-01 00:00:00 UTC
So it is UTC.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With