npm install moment-timezone
In Node.js, all the data is preloaded. No additional code is needed for loading data.
var moment = require('moment-timezone'); moment().tz("America/Los_Angeles").format();
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up