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
Versions
Current Tags
- VersionDownloads (Last 7 Days)
- 1.0.0
4
Version History
Package Sidebar
Install
Weekly Downloads