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();
moment().tz()
is a method in Moment.js which gets the current time zone offset in minutes, taking into account daylight savings time. For example, if the time zone is America/Los_Angeles, the return value would be -420. For more details and examples, see the Moment.js documentation.