How to parse descriptive text into a DateTime object?

Are there existing existing libraries that will parse the date and time from a simple text phrase? I'm looking for something like “Remember milk” or “Perspective”, where the user can enter “next Tuesday at 6 pm” or “tonight at 7” and the library can spit out {4/28/2009 18:00:00 } or {4/25/2009 19:00:00}. I plan to write my own, but I would rather use / contribute to what already exists.

+3
source share
1 answer

Datejs is an open source JavaScript data library that does what you ask for: http://www.datejs.com/

It is not .NET, but it is Open Source.

+2
source

Source: https://habr.com/ru/post/1707117/


All Articles