View Single Post
Old 2011-04-10, 01:09 PM   #8
pc
Shift Out / X-On
 
pc's Avatar
 
Join Date: Jul 2007
Location: unknown
Posts: 2,298
Send a message via ICQ to pc
Quote:
Originally Posted by cd34 View Post
by the way, nice job on the timestamp

Code:
$ python
Python 2.6.6 (r266:84292, Oct  9 2010, 11:40:09) 
[GCC 4.4.5] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import datetime
>>> datetime.datetime.fromtimestamp(1302445778)
datetime.datetime(2011, 4, 10, 10, 29, 38)
is that winter time
pc is offline   Reply With Quote