Re: bigint to timestamp

2009-01-28 Thread John Machin
On Jan 29, 10:00 am, John Machin wrote: > On Jan 29, 1:05 am, Jon Clements wrote: > > > > > On Jan 28, 1:50 pm, Steve Holden wrote: > > > > Shah Sultan Alam wrote: > > > > Hi Group, > > > > I have file with contents retrieved from mysql DB. > > > > which has a time field with type defined bigint

Re: bigint to timestamp

2009-01-28 Thread John Machin
On Jan 29, 1:05 am, Jon Clements wrote: > On Jan 28, 1:50 pm, Steve Holden wrote: > > > > > Shah Sultan Alam wrote: > > > 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 fo

Re: bigint to timestamp

2009-01-28 Thread Jon Clements
On Jan 28, 1:50 pm, Steve Holden wrote: > Shah Sultan Alam wrote: > > 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(-MM-DD HH:MM:SS > > GMT) using python code. > > Th

Re: bigint to timestamp

2009-01-28 Thread Steve Holden
Shah Sultan Alam wrote: > 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(-MM-DD HH:MM:SS > GMT) using python code. > The value I found for that field is 212099016004150509 >

Re: bigint to timestamp

2009-01-28 Thread Ulrich Eckhardt
Shah Sultan Alam wrote: > 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(-MM-DD HH:MM:SS > GMT) using python code. Try time.strftime. > The value I found for that field is 212099016004

bigint to timestamp

2009-01-28 Thread Shah Sultan Alam
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(-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 conv