Skip to content

Instantly share code, notes, and snippets.

@sivasankars
Last active April 1, 2019 08:39
Show Gist options
  • Save sivasankars/ff4f7841bbb32c8bffbb043bf1aa5881 to your computer and use it in GitHub Desktop.
Save sivasankars/ff4f7841bbb32c8bffbb043bf1aa5881 to your computer and use it in GitHub Desktop.
List Available Time Zone Using Moment.js (Node.js)
var moment = require('moment-timezone'); // moment-timezone
console.log(moment.tz.names()); // Get list of all available time zone names
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment