bigint to timestamp

Shah Sultan Alam ssalam at gmail.com
Wed Jan 28 07:51:48 EST 2009


Hi Group,
I have file with contents retrieved from mysql DB.
which has a time field with type defined bigint(20)
I want to parse that field into timestamp format(YYYY-MM-DD HH:MM:SS
GMT) using python code.
The value I found for that field is 212099016004150509
Give me sample code that does the conversion.

Regds
Shah



More information about the Python-list mailing list