How do you preserve time values with date.datefromtimestamp()
Rodrick Brown
rodrick.brown at gmail.com
Wed Sep 15 22:31:14 EDT 2010
I'm doing something like
>>> today = datetime.date.fromtimestamp(1284584357.241863)
>>> today.ctime()
'Wed Sep 15 00:00:00 2010'
Why isn't the time field being populated what I expect is to see something
like Wed Sep 15 2010 16:59:17:241863
--
[ Rodrick R. Brown ]
http://www.rodrickbrown.com http://www.linkedin.com/in/rodrickbrown
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20100915/0fd32e7a/attachment.html>
More information about the Python-list
mailing list