String to Date function?
Frank Miles
fpm at u.washington.edu
Wed May 28 10:29:14 EDT 2003
In article <e305e171.0305280616.183b7f4f at posting.google.com>,
Arsenal <arsenal_hl at yahoo.com.hk> wrote:
>Hi,
>
>I want to convert a string of format like "Mon Nov 25 21:32:11 2002"
>to a date in Python. According the lib. ref, i tried strptime(string[,
>format]) . But python complained that the time module doesnt have this
>function. Any advice appreciated!
>Thank!
Look for the mx.DateTime module & documentation, on the web or perhaps
in the Nutshell book (it's not in 'Essential Reference').
-frank
--
More information about the Python-list
mailing list