GNU date input formats in Python

S

s.lipnevich

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,053
Latest member
BrodieSola

Latest Threads

Top