stevepedwards.com/DebianAdmin linux mint IT admin tips info

Computerphile Vids – End of Unix Time

Sister Channel of Numberphile is Computerphile, so worth checking all the vids here, explained in a similar simplified vein.

https://www.youtube.com/user/Computerphile

To see this Unix number on your Linux box (since the start of Unix Time, in seconds), try:
date +%s
1422477278
(20:35, 28/1/15)
Even better, look in the
man date
to see how to find when that video was made from the screen time shown:
root@raspberrypi:/home/stevee# date --date='@1340197910'
Wed Jun 20 13:11:50 UTC 2012
End of Unix Time
root@raspberrypi:/home/stevee# date --date='@2147483647'
Tue Jan 19 03:14:07 UTC 2038
Start of Unix Time
root@raspberrypi:/home/stevee# date --date='@0'
Thu Jan 1 00:00:00 UTC 1970
Also note that the number 2^32 = 4294967296, so the positive side of the memory space is 4294967296/2 = 2147483648 or the Unix End time + 1. This is to account for 0 and the negative side (-2147483647) of the 32 bit memory space.

 

etc.....

Comments are closed.

Post Navigation