0
votes

I'm looking for a function that can convert an English date phrase to some kind of Python date object representing the appropriate date.

An example of the kinds of things I'm looking for (though I'm flexible):

  • Three days from now
  • yesterday
  • In a month
  • Next year
  • January 18, 2011
  • Next Wednesday

Is there such a thing? Is there one perhaps in another language?

2
Such a thing definitely exists. Apple's iOS 4 does this all the time. - Robert

2 Answers

0
votes

I think the best bet here would be the mxDateTime. The documentation seems to suggest that it does what you're looking for.