String to Date function?

Arsenal arsenal_hl at yahoo.com.hk
Wed May 28 19:19:56 EDT 2003


fpm at u.washington.edu (Frank Miles) wrote in message > 
> Look for the mx.DateTime module & documentation, on the web or perhaps
> in the Nutshell book (it's not in 'Essential Reference').
> 

Thx all for the replies...
I am using Windows version of Python 2.2.2. The function is missing as
Frank said. I think i gotta get the mxDateTime module.
Thanks!

-------------
PythonWin 2.2.2 (#37, Oct 14 2002, 17:02:34) [MSC 32 bit (Intel)] on
win32.
Portions Copyright 1994-2001 Mark Hammond (mhammond at skippinet.com.au)
- see 'Help/About PythonWin' for further copyright information.
>>> import time
>>> time.strptime('Mon Nov 25 21:32:10 2002', "%a %b %d %H:%M:%S %Y") 
Traceback (most recent call last):
  File "<interactive input>", line 1, in ?
AttributeError: 'module' object has no attribute 'strptime'
>>> 
-------------




More information about the Python-list mailing list