moment js to get timezone code example
Example 1: moment date without timezone
moment().utcOffset(0, true).format()
Example 2: moment get timezone
var tz = moment.tz.guess();
moment().utcOffset(0, true).format()
var tz = moment.tz.guess();