moment.tz.setDefault(String);

By default, moment objects are created in the local time zone. The local time zone is determined by your JS environment such as a browser or server like Node.js.

To change the default time zone, use moment.tz.setDefault with a valid time zone.

moment.tz.setDefault("America/New_York");

To reset the default time zone to local, use moment.tz.setDefault with no arguments.

moment.tz.setDefault();

This is a global setting (shared by all modules).

Subsequent calls to moment.tz.setDefault will not affect existing moment objects or their clones.