dateparser icon indicating copy to clipboard operation
dateparser copied to clipboard

A parser for arbitarily-formatted dates/times.

dateparser

A parser for arbitarily-formatted dates/times. It is a translation of the Python dateutil.parser module from Gustavo Niemeyer's dateutil package.

dateutil homepage: http://labix.org/python-dateutil

dateutil.parser source: http://bazaar.launchpad.net/~dateutil/dateutil/trunk/view/head:/dateutil/parser.py

Install

"go get"-able link:

go get github.com/kierdavis/dateparser

Alternatively, clone this repository by hand and install with:

git clone https://github.com/kierdavis/dateparser.git
cd dateparser
go install

Documentation

Godoc: http://godoc.org/github.com/kierdavis/dateparser

Example code: http://godoc.org/github.com/kierdavis/dateparser#_example_Parser-Parse