# Natural language date parser

**URL:** <https://forum.kirupa.com/t/natural-language-date-parser/298285>\
**Category:** Uncategorized\
**Created:** [October 15, 2009, 10:04pm UTC](https://forum.kirupa.com/t/natural-language-date-parser/298285 "2009-10-15T22:04:24Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![lorren\_biffin](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/lorren_biffin/32/2726_2.png) [@lorren\_biffin](https://forum.kirupa.com/u/lorren_biffin)\
**Post date:** [October 15, 2009, 10:04pm UTC](https://forum.kirupa.com/t/natural-language-date-parser/298285/1 "2009-10-15T22:04:24Z")

</div>

I’d like to convert human entered text strings, such as “next Monday”, “two weeks ago”, “four months from today”, or “one day, 3 hours and five minutes” to the corresponding representational time stamp. Is there already a good way to do this, or will I be writing a custom library to handle this type of ‘data’ conversion?

(Disclaimer: I understand the usability implications. They’re null. :D)

Thanks!
