1.0.1 • Published 10 years ago

muchencute-date v1.0.1

Weekly downloads
6
License
MIT
Repository
github
Last release
10 years ago

date.js

Extensions for native JavaScript Date object

Build status npm npm

What to use it for?

In JavaScript, date.js has been used to reduce duplicated & boring date related codes by us for weeks, and it grows.

Installation

There are many ways to install date.js but we suggest using npm or Bower.

npm install muchencute-date --save

or

bower install muchencute-date --save

Alternative installation

Basic usage

Assuming you have already installed date.js.

new Date().format('YYYY-MM-DD');
new Date('2016-08').toYmd(true);

Resources

Community

Copyright and license

date.js is release under the MIT license.

Copyrights belongs to 湖南牧米网络科技有限公司