GNU date input formats in Python

s.lipnevich at gmail.com s.lipnevich at gmail.com
Tue Jul 4 13:01:29 EDT 2006


Hi All,

I tried looking in several places, including Python's documentation,
CheeseShop, general search, and didn't find anything. Is implementation
of GNU date input formats
(http://www.gnu.org/software/tar/manual/html_node/tar_109.html)
available in Python? I'm primarily interested in parsing relative
dates/times like "next tuesday" or "-1 week."
I know that Python 2.5 now includes strptime
(http://docs.python.org/lib/module-time.html#l2h-1956), but that
function only parses prescribed formats and can't do "relative."
Thank you!

Sergey.




More information about the Python-list mailing list