/date-at

easily create relative dates. ie: date('+1day')

Primary LanguageJavaScript

SYNOPSIS

Easily create relative dates.

BUILD

Build Status

USAGE

var date = require('date-at')
console.log(date('+1day'))

UNITS

YEARS

years, year, yr, Y

MONTHS

months, month, mo, M

WEEKS

weeks, week, w

DAYS

days, day, d

HOURS

hours, hour, h

MINUTES

minutes, minute, min, m

SECONDS

seconds, second, sec, s

MILLISECONDS

milliseconds, millisecond, ms