how to get date and time from timestamp fo seconds and nanoseconds using moment js in javascript code example
Example 1: moment now format
var date = moment().format('MM/DD/YYYY');
Example 2: momentjs utcoffset
moment().utcOffset() // will output 60 (for example)