Nguyễn Trà
New member
How is Unix time calculated?
Answer
Encoding time as a number
The Unix epoch is the time 00:00:00
UTC on 1 January 1970. … The Unix time number is zero at the Unix epoch, and increases by exactly 86400 per day since the epoch. Thus 2004-09-16T00:00:00Z, 12677 days after the epoch, is represented by the Unix time number 12677 × 86400 = 1095292800.
Answer
Encoding time as a number
The Unix epoch is the time 00:00:00
UTC on 1 January 1970. … The Unix time number is zero at the Unix epoch, and increases by exactly 86400 per day since the epoch. Thus 2004-09-16T00:00:00Z, 12677 days after the epoch, is represented by the Unix time number 12677 × 86400 = 1095292800.