No description or website provided.
JavaScript HTML
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
demo
test
.gitignore
README.md
package.json
return-format-time.js

README.md

Install

npm install return-format-time --save-dev

Usage

Node.js CommonJS

require('return-format-time.js')();

AMD

require(['return-format-time'], function (ReturnFormatTime) {
  ReturnFormatTime()
});

then

<script>
    var d = new Date().format('yy-mm-dd h:i:s')
    console.log(d)
</script>

License

MIT © Thank