What is a Unix Timestamp?
A Unix timestamp (also known as Epoch time or POSIX time) is the number of seconds that have elapsed since
January 1, 1970, 00:00:00 UTC (the Unix Epoch), not counting leap seconds.
It is widely used in computing to represent dates and times in a timezone-independent way.
- Seconds: Standard Unix timestamp (10 digits, e.g.
1713234180)
- Milliseconds: Used by JavaScript, Java (13 digits, e.g.
1713234180000)
- Microseconds: Used by some databases (16 digits)
- Nanoseconds: Used by Go, some high-precision systems (19 digits)