Momentjs

https://meteor.hackpad.com/Meteor-Cookbook-Using-Dates-and-Times-qSQCGFc06gH
http://momentjs.com/docs/#/displaying/format/
http://momentjs.com/docs/

var dateObj = new Date();
var dateString = moment(dateObj).format('YYYYDDD');

var dateString = moment().format('LLLL');
var dateString = moment().format('MM-DD-YYYY hh:mm:ss a z');
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License