⏰ Day.js 2kB immutable date-time library alternative to Moment.js with the same modern API
Moment-compatible API in about 2 kB.
- Language
- JavaScript
- Licence
- MIT
- Stars
- 49k
- Latest
- v1.11.23
- Last push
- 2026-11-06
4 tools replace Moment.js, 1 of them drop-in
⏰ Day.js 2kB immutable date-time library alternative to Moment.js with the same modern API
Moment-compatible API in about 2 kB.
⏳ Modern JavaScript date utility library ⌛️
Plain functions over native Date, tree-shakable.
⏱ A library for working with dates and times in JS
Immutable, with Intl-based time zones, from Moment's maintainers.
A lightweight javascript timezone library
Timezone-aware dates with the timezone data built in, and an immutable API.
Loading the README
✓ signed The latest release, 2.31.0, carries a signature GitHub verified.
Loading the security report