rnd-date
1.0.0 • Public • Published rnd-date
Get a random date
Install
$ npm install --save rnd-date
Usage
import rndDate from 'rnd-date'
rndDate(2010, 2016)
rndDate(2010, new Date())
API
rnd-date(from, to)
from
Type: Number
Required
to
Type: Number
Default: new Date()
Optional
Related
License
MIT © Bu Kinoshita
Dependencies (0)
Dev Dependencies (2)
Package Sidebar
Install
Weekly Downloads