L
Luxon
16.0k stars
Updated 6/20/2025
A powerful, modern, and friendly wrapper for JavaScript dates and times
datestimeimmutable
README
Luxon
Luxon is a library for working with dates and times in JavaScript.
DateTime.now().setZone("America/New_York").minus({ weeks: 1 }).endOf("day").toISO();
Upgrading to 3.0
Features
- DateTime, Duration, and Interval types.
- Immutable, chainable, unambiguous API.
- Parsing and formatting for common and custom formats.
- Native time zone and Intl support (no locale or tz files).
Download/install
Documentation
Development
See contributing.
Package Information
Latest Version
v3.6.1npm
License
MIT
Dependencies
0 production
Community Stats