Skip to content
returns start and end timestamps for YYYY-MM-DD, YYYY-MM, or YYYY
JavaScript
Find file
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
test
.gitignore
README.md
package.json
timerange.js

README.md

timerange

Dates are really timerages. This library returns those values.

Usage

var tr = timerage() var tr = timerage("2012")
var tr = timerage("2012-06") var tr = timerage("2012-06-15")

Something went wrong with that request. Please try again.