Intelligent Date & Time parsing

shakefu at shakefu at
Fri Mar 7 23:12:07 CET 2008

On Mar 7, 4:10 pm, Mike Driscoll <kyoso... at> wrote:
> On Mar 7, 4:08 pm, shak... at wrote:
> > I'm new to python and I was wondering if there are any intelligent
> > date/time parsing modules out there. I've looked at strptime (or
> > whichever it is) and mxDateTime from the eGenix package. I need
> > something to parse user input for a django app, and it's awesome to be
> > able to write "last monday", "a year ago", or "10pm tuesday" like
> > PHP's strtotime.
> > So are there any modules that allow for that kind of parsing?
> There's the dateutil module that's a fancy wrapper for the datetime
> module. The author's site has lots of examples as well as the source:
> I use it quite a bit.
> Mike

Holy Crap that was fast. I'll check it out - thanks for the help!


More information about the Python-list mailing list