bigint to timestamp

Shah Sultan Alam ssalam at
Wed Jan 28 13:51:48 CET 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.


More information about the Python-list mailing list