[egenix-users] mxDateTime puzzle

Dick Moores rdmoores at gmail.com
Fri May 2 03:29:08 CEST 2008


Win XP, Python 2.5.1, mxDateTime v.3

I'm trying to begin to master both Python's datetime module and
mxDateTime. I have a script that does something useful for me with
datetime: <http://py77.python.pastebin.com/f25c957>. Note the user is
able to enter a date in informal U.S. style. E.g. yesterday's as
5/1/2008.

I've tried hard to write a script that does the same with mxDateTime,
but am not able to incorporate the same date style. I'm stuck at
having the user enter a date as "year, month, date". This effort is at
<http://py77.python.pastebin.com/f130055a1>

Please suggest how to modify this to meet my objective.

Thanks,

Dick Moores



More information about the egenix-users mailing list