My rating
9/10
Pricing
Free
Category
GitHub & Open Source
Last reviewed
9 Jun 2026
What it is
Day.js is a tiny (2kB) immutable date-time library with a Moment.js-compatible API. It does parsing, formatting, manipulation and relative time without bloating your bundle — the modern default for date handling in JavaScript and TypeScript projects.
JavaScript Date Library Frontend Starred
Why I use it
I drop Day.js into any JS/TS project that touches dates — same familiar API as Moment but a fraction of the size. No reason to ship Moment.js in 2026.
Setting this up for your project?
I can integrate it properly or recommend a better fit for your case. Let's talk.
Get in touch