Convert casual language to date

56 Views Asked by At

I'm looking for a library for .NET which will take a date string like "two hours ago" or "3", meaning today at 3PM, and convert it to an actual date. Humanizer seems to do the opposite, taking a date and converting it to a more human-readable date, but I can't find anything that does it this way round. Any suggestions?

1

There are 1 best solutions below

0
Rob Bell On BEST ANSWER

nChronic seems to do the job: https://github.com/robertwilczynski/nChronic