← back

category

JavaScript date libraries

Parse, format and compute dates in JavaScript.

Side by side

JavaScript date libraries
ToolStarsLicenceTermsSelf-hostedLanguageLatestLast push
Day.js49kMITOpen sourceNoJavaScriptv1.11.232026-11-06
Moment.js48kMITOpen sourceNoJavaScript2.31.02026-10-08
date-fns37kNone detectedOpen sourceNoTypeScriptv4.4.02026-10-26
Luxon16kMITOpen sourceNoJavaScript3.7.22026-08-09
spacetime4.1kApache-2.0Open sourceNoJavaScript7.17.12026-11-09

5 tools

Day.js

⏰ Day.js 2kB immutable date-time library alternative to Moment.js with the same modern API

Language
JavaScript
Licence
MIT
Stars
49k
Latest
v1.11.23
Last push
2026-11-06
Luxon

⏱ A library for working with dates and times in JS

Language
JavaScript
Licence
MIT
Stars
16k
Latest
3.7.2
Last push
2026-08-09

What these tools replace