console.log( moment().format('YYYY-MM-DD HH:mm:ss') )
console.log( moment({h:0, m:0, s:0, ms:0}).format('YYYY-MM-DD HH:mm:ss') )
moment(date).fromNow();
moment().fromNow();
moment().fromNow(Boolean);
moment("20111031", "YYYYMMDD").fromNow(); // 10 years ago
moment("20120620", "YYYYMMDD").fromNow(); // 9 years ago
moment().startOf('day').fromNow(); // 15 hours ago
moment().endOf('day').fromNow(); // in 9 hours
moment().startOf('hour').fromNow(); // an hour ago
var startDate = moment().subtract(1, 'days'); //one day before the current time
moment().toNow();
moment().toNow(Boolean);
var a = moment([2007, 0, 28]);
var b = moment([2007, 0, 29]);
a.from(b) // "a day ago"