moment js get timestamp with date code example
Example 1: format a date moment
moment(testDate).format('MM/DD/YYYY');
Example 2: momentjs utcoffset
moment().utcOffset() // will output 60 (for example)
moment(testDate).format('MM/DD/YYYY');
moment().utcOffset() // will output 60 (for example)