converting time tuple to datetime struct

Michael Jard kfaust at gmail.com
Thu Mar 3 09:06:53 EST 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