Permalink
Fetching contributors…
Cannot retrieve contributors at this time
17 lines (12 sloc) 245 Bytes
title
Node.js
npm install moment
var moment = require('moment');
moment().format();

Note: In 2.4.0, the globally exported moment object was deprecated. It will be removed in next major release.