Re: How can we covert string into Datetime object

2012-05-11 Thread MRAB
On 11/05/2012 12:13, Nikhil Verma wrote: Hi All I was going through this link http://docs.python.org/library/datetime.html#strftime-strptime-behavior. I practised strftime() and strptime() functions. Finally i stuck into a situation where i want to get the datetime object so that i can save it

How can we covert string into Datetime object

2012-05-11 Thread Nikhil Verma
Hi All I was going through this link http://docs.python.org/library/datetime.html#strftime-strptime-behavior. I practised strftime() and strptime() functions. Finally i stuck into a situation where i want to get the datetime object so that i can save it in my db. What i want is :- I have a stri