converting string to a date format

tekion tekion at gmail.com
Sun Dec 20 21:23:39 EST 2009


All,
I know there is a datetime module for converting and manipulate date
format.  I have this  string date format: 24/Nov/2009:10:39:03 -0500
and would like to convert it to a date format of "2009-11-24
10:39:03".  At the moment I am reading datetime module trying to find
out if I could do it with datetime module.  Does any one know of a way
besides slashing my way through it using string split function? Thanks.



More information about the Python-list mailing list