Unix time
Jump to navigation
Jump to search
The number of seconds since the Unix Epoch (1-1-1970).
Originally unix time was stored as a 32-bits integer which limits the time to reaching 19 January 2038 03:14:07 UTC [1]. Modern computers use a 64-bit field that expands the maximum time far beyond the expected lifetime of the universe.
- date +%s
- Return the current unix time
Timeframe | Seconds |
---|---|
Hour | 3600 |
Day | 86400 |
Week | 604800 |
Year | 31536000 |