Newbie: datetime conversion question

kevin evans kwevans at gmail.com
Tue Oct 17 14:43:36 CEST 2006


Hi,
I'm trying to convert some code from Ruby to Python, specifically..

timestamp = "%08x" % Time.now.to_i

Make a hex version of the current timestamp. Any ideas how best to do
this in python gratefully received..




More information about the Python-list mailing list