Difference between revisions of "Unix time"

From wiki
Jump to navigation Jump to search
(Created page with "The number of seconds since the [https://en.wikipedia.org/wiki/Unix_time Unix Epoch] (1-1-1970). Originally unix time was stored as a 32-bits integer which limits the time to...")
 
(No difference)

Latest revision as of 09:20, 29 July 2021

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
Good to know these seconds
Timeframe Seconds
Hour 3600
Day 86400
Week 604800
Year 31536000