how to find time in moment in node js code example
Example: moment.js get time from now
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