Sorry you should use datetime.strptime

On 30 August 2012 20:01, Ramchandra Apte <maniandra...@gmail.com> wrote:

> I googled "string to date python" and found
> http://stackoverflow.com/questions/466345/converting-string-into-datetime.
> From there I see you should use the 
> strptime<http://docs.python.org/library/time.html#time.strptime>()
> function
>
>
> On 30 August 2012 19:58, Kushal Das <kushal...@gmail.com> wrote:
>
>> Hi,
>> What is the best way to convert "Thu Aug 30 11:59:18 +0000 2012" into
>> a datetime object ?
>>
>> Kushal
>> --
>> http://fedoraproject.org
>> http://kushaldas.in
>> _______________________________________________
>> BangPypers mailing list
>> BangPypers@python.org
>> http://mail.python.org/mailman/listinfo/bangpypers
>>
>
>
_______________________________________________
BangPypers mailing list
BangPypers@python.org
http://mail.python.org/mailman/listinfo/bangpypers

Reply via email to