
25 Mar
2011
25 Mar
'11
2:55 p.m.
in python erastus@tide:~/dev/py/cassandra$ python Python 2.6.6 (r266:84292, Sep 15 2010, 15:52:39) [GCC 4.4.5] on linux2 Type "help", "copyright", "credits" or "license" for more information.
import time, datetime datetime.datetime.fromtimestamp(1300000000) datetime.datetime(2011, 3, 13, 10, 6, 40) time.mktime(datetime.datetime.now().timetuple()) 1301054024.0
On Friday, March 25, 2011, Ndungi Kyalo <ndungi@gmail.com> wrote:
Its a Friday, so .. The unix timestamp of 1300000000 seconds since the epoch had an eery repitition of 13's in its real datetime form : mysql> select from_unixtime(1300000000)
mysql> 2011-3-13 13:06.666 PS : I wonder how they settled on 1-jan-1970 as "The epoch" ?
-- -- -erastus +254733725373 Nairobi Kenya