Re: doubt regarding Conversion of date into timestamp

2005-04-08 Thread Max M
praba kar wrote: Dear All, I am new to Python I want to know how to change a time into timestamp Is there any specific reason for not using datetime instead of time ? -- hilsen/regards Max M, Denmark http://www.mxm.dk/ IT's Mad Science -- http://mail.python.org/mailman/listinfo/python-list

doubt regarding Conversion of date into timestamp

2005-04-08 Thread praba kar
Dear All, I am new to Python I want to know how to change a time into timestamp eg "Fri, 8 Apr 2005 09:22:14 +0900" like format date I want to change as a timestamp. I have used below code to get timestamp import time time.strptime(v,'%a, %d %b %Y %X +0900') function. This function wil