ForestMars / human-date-parser

C# Parse Human Readable Dates

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Human Date Parser

Parser human readable dates to System.DateTime. Based on TimeStamper and updated to work with Asp.Net Core/.NET Framwork.

Nuget Package Manager:

Install-Package HumanDateParser -Version 1.1.0

Dotnet CLI:

dotnet add package HumanDateParser --version 1.1.0

Usage:

DateParser.Parse("1 month ago")
DateParser.Parse("after 15 days")
DateParser.Parse("15th feb 2010 at 5:30pm")

Contribute:

Please add more unit tests create a pull request.

About

C# Parse Human Readable Dates


Languages

Language:C# 100.0%