Freitag, 13. Februar 2009

 

Mit dem Summerton wird es 1234567890 Uhr

Wir haben ein Jubiläum: die Unixzeit wird 1234567890, also 1234567890 Sekunden nach dem 1.1.1970 0:00 UTC. Auf gut Deutsch ist das am 14. Februar 2009 um 0:31:30 CET. Ein Grund zum Feiern! Siehe http://www.1234567890day.com/.

Zum Beispiel mit python leicht anchzuprüfen:


Python 2.5.2 (r252:60911, Aug 1 2008, 00:43:38)
[GCC 4.3.1 20080507 (prerelease) [gcc-4_3-branch revision 135036]] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> from time import localtime, asctime
>>> localtime(1234567890)
(2009, 2, 14, 0, 31, 30, 5, 45, 0)
>>> asctime((2009, 2, 14, 0, 31, 30, 5, 45, 0))
'Sat Feb 14 00:31:30 2009'

Labels:


Kommentare:

Kommentar veröffentlichen

Abonnieren Kommentare zum Post [Atom]





<< Startseite

This page is powered by Blogger. Isn't yours?

Abonnieren Posts [Atom]