Perhaps use datetime?

>>> now = datetime.datetime.now()
>>> now.isoformat()
'2013-08-02T07:37:08.430131'
>>> now.strftime("%f")
'430131'

Skip
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to