Javascript Date plugin Moment.js

Parse, validate, manipulate, and display dates and times in JavaScript.

Features

  1. I18n support
  2. customizable
  3. Easy to manupulate

Important Links

  1. Guides
  2. Documentation
  3. Github
  4. Download

Install

npm install moment --save   # npm
yarn add moment             # Yarn
Install-Package Moment.js   # NuGet
spm install moment --save   # spm
meteor add momentjs:moment  # meteor
bower install moment --save

Call the plugin

<script src="moment.js"></script>
<script>
    moment().format();
</script>

License: Moment.js is freely distributable under the terms of the MIT license.