Moment().tz() is a method in Moment.js which gets the current time zone offset, taking into account daylight savings time. See the Moment.js documentation for details & examples.
moment().tz();