get-date
v1.0.2
Published
Get the current date and time JavaScript module.
Downloads
4,184
Maintainers
Readme
Get Date
Install
npm install get-date --save-dev
Use
var dateTime = require('get-date');
console.log(dateTime()); // current date
console.log(dateTime(true)); // current date and time
Release History
- 1.0.2: Ability to just show year.
- 1.0.1: Initial release.
- 1.0.0: Initial release.
Contributing
- Fork it
- Run
npm install
- Run Grunt watch
grunt watch
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am "Add some feature"
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request## License MIT © Ryan Burgess