[BangPypers] Best way to convert this string into datetime object

Ramchandra Apte maniandram01 at gmail.com
Thu Aug 30 16:31:59 CEST 2012


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 <kushaldas at 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 at python.org
> http://mail.python.org/mailman/listinfo/bangpypers
>


More information about the BangPypers mailing list