converting time tuple to datetime struct

Michael Jard kfaust at gmail.com
Thu Mar 3 15:06:53 CET 2005


there a shorter way then:
datetime.fromtimestamp(time.mktime(time.strptime("20-3-2005","%d-%b-%y")))

thanks,
Mike




More information about the Python-list mailing list