moment-timezone
moment-timezone adds IANA timezone data to Moment.js, letting JavaScript developers parse, format and convert dates across any timezone with ease.
Overview
moment-timezone is an open-source JavaScript library that extends Moment.js with comprehensive IANA timezone support. Hosted on GitHub under the moment organization, it allows developers to work with dates and times in any timezone by bundling or loading timezone data derived from the IANA Time Zone Database. With nearly 4,000 GitHub stars, the project is widely used in web and Node.js applications that need accurate timezone-aware date handling. It is released under the MIT license, making it freely usable in both personal and commercial projects. Teams building scheduling tools, reporting dashboards, or any application that must display or process times across multiple regions can rely on moment-timezone to handle the complexity of daylight saving rules and regional offsets.
Highlights
- Extends Moment.js with IANA timezone database support
- Parse and format dates in any named timezone
- Convert moments between timezones with a simple API
- Bundles timezone data that can be loaded fully or filtered by region
- Works in both browser and Node.js environments
- MIT licensed and actively maintained on GitHub
Common use cases
- Displaying event times in a user's local timezone on a scheduling platform
- Converting timestamps across regions in business reporting dashboards
- Handling daylight saving transitions in calendar applications
- Processing timezone-aware data in Node.js backend services