When I'm asked to handle dates, I just quit and find a job elsewhere. Answer from robby_arctor on reddit.com
🌐
npm Trends
npmtrends.com › date-fns-vs-dayjs-vs-luxon-vs-moment
date-fns vs dayjs vs luxon vs moment | npm trends
Comparing trends for date-fns 4.1.0 which has 51,878,372 weekly downloads and 36,508 GitHub stars vs. dayjs 1.11.19 which has 40,030,852 weekly downloads and 48,581 GitHub stars vs. luxon 3.7.2 which has 23,996,657 weekly downloads and 16,371 GitHub stars vs. moment 2.30.1 which has 30,993,763 weekly downloads and 48,051 GitHub stars.
🌐
Medium
medium.com › swlh › best-moment-js-alternatives-5dfa6861a1eb
Best Moment.js Alternatives - date-fns, Day.js, Luxon, js-joda | Jakub Kozak | 2020 | The Startup
June 13, 2023 - Comparison of the best JavaScript alternatives to Moment.js - date-fns, Day.js, Luxon and js-joda. Including performance, size, timezone and locale support, and more.
🌐
NPM Compare
npm-compare.com › date-fns,dayjs,luxon,moment
date-fns vs dayjs vs moment vs luxon | JavaScript Date and Time Manipulation Libraries
Choose date-fns if you prioritize bundle size, functional style, and fine-grained control. Choose dayjs if you want a lightweight, moment-like API with plugin flexibility. Choose luxon if you need robust time zone handling out of the box and prefer a modern, object-oriented API.
🌐
GitHub
github.com › you-dont-need › You-Dont-Need-Momentjs › blob › master › README.md
You-Dont-Need-Momentjs/README.md at master · you-dont-need/You-Dont-Need-Momentjs
Luxon · No · High · OO · - Good (Intl) date-fns · Yes · High · Functional · 64 · Good (date-fns-tz) dayjs · No · High · OO · 138 · Good (Intl) Removed moment.js to replace with date-fns - build output reduced by 40% —Jared Farago from webnode project.
Author   you-dont-need
🌐
CodeSandbox
codesandbox.io › s › timezone-conversion-comparison-dayjs-vs-momentjs-vs-luxon-vs-date-fns-tz-5md9k
Timezone Conversion - Comparison (dayjs vs. momentjs vs. luxon vs. date-fns-tz) - CodeSandbox
September 8, 2021 - Timezone Conversion - Comparison (dayjs vs. momentjs vs. luxon vs. date-fns-tz) by provi using date-fns, date-fns-tz, dayjs, luxon, moment, moment-timezone, parcel-bundler
Published   Sep 04, 2021
Author   provi
🌐
Reddit
reddit.com › r/reactjs › what library do you use to handle dates?
r/reactjs on Reddit: What library do you use to handle dates?
June 9, 2023 -

Hi guys, I have to work with dates, for example I have to check if they are valid, I have to format them and to check if a date is greater than another one.

In past i used Moment, but I read that we should avoid to use it for future projects. I read someone suggested to use Datejs, but it doesn't seems to be updated, last time was 8 years ago. Currently I'm thinking to use Luxon but I someone suggest Date-fns also.

What library are you using and do you recommend me?

🌐
NPM Compare
npm-compare.com › date-fns,date-fns-tz,dayjs,luxon,moment
date-fns vs dayjs vs moment vs luxon vs date-fns-tz: Which is Better JavaScript Date Manipulation Libraries?
This modularity helps keep bundle ... overhead of a large library, date-fns is an excellent choice. dayjs is another lightweight alternative to Luxon that offers a simple and elegant API for date manipulation....
🌐
MeasureThat
measurethat.net › Benchmarks › Show › 27231 › 1 › dayjs-vs-luxon-vs-js-joda-vs-date-fns-manipulating
Benchmark: dayjs vs luxon vs js-joda vs date-fns (manipulating) - MeasureThat.net
dayjs vs luxon vs js-joda vs date-fns (formatting) dayjs vs luxon vs js-joda vs date-fns (parsing) luxon vs datefns adding · Comments · × · Do you really want to delete benchmark? Cancel Delete · × · FAQ: FAQ · Source code: GitHub/MeasureThat.net · Report issues: MeasureThat.net/Issues ·
Find elsewhere
🌐
MeasureThat
measurethat.net › Benchmarks › Show › 23925 › 0 › luxon-vs-datefns-vs-moment-vs-dayjs
Benchmark: luxon vs datefns vs moment vs day.js - MeasureThat.net
luxon vs datefns vs moment vs dayjs (calculations) luxon vs datefns vs moment vs dayjs · luxon 3.2.1 vs datefns vs moment vs dayjs (formatting) luxon vs datefns adding · Comments · × · Do you really want to delete benchmark? Cancel Delete · × · FAQ: FAQ ·
🌐
Skypack
skypack.dev › home › the best javascript date libraries in 2021
The best JavaScript date libraries in 2021 - Skypack Blog
February 16, 2021 - We recommend date-fns for date dependent applications because compared to Luxon it has a larger feature set and is tree-shakable. If feature set is not a major concern, Day.js is a better pick because it’s ~7 times smaller than Luxon (29.5kb ...
🌐
DEV Community
dev.to › dmtrkovalenko › you-might-not-need-date-fns-23f7
You might not need date-fns - DEV Community
May 10, 2021 - Yes, date-fns is really fast because it works directly with a native date without creating any additional wrapper. Dayjs focused on size instead of speed and Luxon is using Intl which is super slow 🐌.
🌐
How-To
how-to.dev › dayjs-vs-date-fns
Day.js vs date-fns
August 7, 2021 - In this article, I'll summarize Day.js & date-fns comparison, that concludes this series. Introduction Based on what I've learned in the first round of articles, Day.js & date-fns look the most interesting. date-fns In the first test, where I used o...
🌐
npm Trends
npmtrends.com › date-fns-vs-day-vs-dayjs-vs-js-joda-vs-luxon
date-fns vs day vs dayjs vs js-joda vs luxon | npm trends
Comparing trends for date-fns 4.1.0 which has 30,620,012 weekly downloads and 36,043 GitHub stars vs. day 0.0.2 which has 442 weekly downloads and 0 GitHub stars vs. dayjs 1.11.13 which has 24,658,302 weekly downloads and 48,139 GitHub stars vs. js-joda 1.11.0 which has 55,010 weekly downloads and 1,646 GitHub stars vs. luxon 3.7.1 which has 14,697,655 weekly downloads and 16,068 GitHub stars.
🌐
JavaScript in Plain English
javascript.plainenglish.io › javascript-date-libraries-showdown-228adb151b09
JavaScript Date Libraries Showdown | by Alex Streza | JavaScript in Plain English
August 20, 2021 - JavaScript Date Libraries Showdown Moment vs. Luxon vs. Date-fns vs. DayJS Manipulating dates is one of the most complex topics to be handled in any application. Timezones, localization and …
🌐
Hacker News
news.ycombinator.com › item
Day.js – Fast 2kB alternative to Moment.js with the same modern API | Hacker News
October 11, 2022 - As far as I know, issue #1450 is the last remaining blocker for the standardization. I'd assume that this will be resolved in the next months. So Temporal will likely be officially released with ECMAScript 2023, but browser vendors and other implementors will start shipping it before the offical ...
🌐
Phrase
phrase.com › home › resources › blog › what is the best javascript date and time library?
What Is the Best JavaScript Date and Time Library? | Phrase
January 7, 2025 - Luxon is another library that makes it easier to work with date and time formats in JavaScript. According to the official documentation, it provides extraordinary features to add, subtract, and parse the date and time into the format you need.
🌐
MeasureThat
measurethat.net › Benchmarks › Show › 33217 › 1 › luxon-vs-dayjs-vs-date-fns-vs-temporal-polyfill-vs-mome
Benchmark: luxon vs dayjs vs date-fns vs temporal-polyfill vs moment (formatting) - MeasureThat.net
luxon vs dayjs vs date-fns vs temporal-polyfill (formatting) Comments · × · Do you really want to delete benchmark? Cancel Delete · × · FAQ: FAQ · Source code: GitHub/MeasureThat.net · Report issues: MeasureThat.net/Issues · Based on: Benchmark.js ·
🌐
Libhunt
nodejs.libhunt.com › compare-luxon-vs-dayjs
Luxon vs dayjs | LibHunt
Compare Luxon and dayjs's popularity and activity. Categories: Date. Luxon is less popular than dayjs.