moment + get unix timestamp code example
Example 1: moment get timestamp
moment().unix() // you will get a unix timestamp
moment().valueOf() // you will get a full timestamp
Example 2: moment get timestamp
var CurrentDate = moment().valueOf();
moment().unix() // you will get a unix timestamp
moment().valueOf() // you will get a full timestamp
var CurrentDate = moment().valueOf();