Modern JavaScript date utility library
Date-fns is modern JavaScript date utility library. Licensed under MIT, it is extremely popular in the JavaScript ecosystem with 70.6M weekly downloads.
Date-fns has an good overall health score of 67/100. Its strongest dimension is popularity (100/100), while maintenance (40/100) is the area with most room for improvement. This package is in good shape overall.
The best package for every category — one PDF.
Join 500+ devs. No spam.
date-fns vs Day.js vs Moment.js 2026: Day.js is 2KB, date-fns is tree-shakeable, Moment is deprecated. Compare bundle size, API design, and timezone support.
2026-04-13T00:00:00.000ZTemporal API is Stage 4 and native in Chrome 144+. How to migrate from Moment.js and date-fns to native JavaScript dates in 2026 with polyfill comparison.
2026-03-16T00:00:00.000Zdate-fns v4, the Temporal API, and Day.js compared for date handling in JavaScript 2026. Immutability, timezone support, bundle size, and when to use each.
2026-03-09T00:00:00.000Z