Flexible English date phrase library for Python?

后端 未结 2 935
离开以前
离开以前 2020-12-22 07:31

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

相关标签:
2条回答
  • 2020-12-22 08:24

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

    0 讨论(0)
  • 2020-12-22 08:25

    parsedatetime, always a classic: http://code.google.com/p/parsedatetime/

    0 讨论(0)
提交回复
热议问题