get-date

1.0.2 • Public • Published

Get Date npm version Build Status

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

  1. Fork it
  2. Run npm install
  3. Run Grunt watch grunt watch
  4. Create your feature branch (git checkout -b my-new-feature)
  5. Commit your changes (git commit -am "Add some feature")
  6. Push to the branch (git push origin my-new-feature)
  7. Create new Pull Request## License MIT © Ryan Burgess

Package Sidebar

Install

npm i get-date

Weekly Downloads

708

Version

1.0.2

License

MIT

Last publish

Collaborators

  • ryanburgess