What is the Unix timestamp?
26 December 2023 (Updated 26 December 2023)
The Unix timestamp is the number of seconds that have passed since 00:00:00 UTC on Thursday, 1 January 1970, not counting leap seconds. It’s one way of tracking time as a running total of seconds.
For example, in JavaScript you can get the current time as a Unix timestamp as follows;
In PHP, you can do:
Tagged:
Computing
Thanks for your comment . Once it's approved, it will appear here.
Leave a comment