Day.js
A compact date library with a chainable API.
What it does
A compact date library with a chainable API.
When it fits
Working with dates through a familiar, chainable API.
What you build
Use Day.js objects for parsing, manipulation, and display. Enable the plugins and locales your application needs, and check their behavior against your date formats.
Keep in mind
Add plugins for capabilities beyond the core.
Other options in this category
- @internationalized/date — Building date controls that need explicit calendar and timezone behavior.
- Chrono — Turning phrases such as next Friday into structured date information.
- date-fns — Picking individual functions for the date operations you need.
- pretty-ms — Showing elapsed time and task durations in interfaces or logs.
- Spacetime — Working with dates across timezones using a chainable interface.
Source
Editorial overview reviewed on October 24, 2026. Follow the source for current setup, compatibility, and licensing.