momentjs convert miliseconds to date code example
Example 1: moment to date
moment().toDate();
Example 2: how to convert millisecond to second to date momentjs
var day = moment(1318781876406);
moment().toDate();
var day = moment(1318781876406);