Using this, you can pass the integer value in milliseconds and seconds to moment.
moment(Number);
var day = moment(1315681876406);
To use seconds inside moment will have to use it as moment.unix(timestamp)
moment.unix(Number)
var day = moment.unix(1968781876);