date-fns VS js-joda

Compare date-fns vs js-joda and see what are their differences.

date-fns

⏳ Modern JavaScript date utility library ⌛️ (by date-fns)

js-joda

:clock2: Immutable date and time library for javascript (by js-joda)
Our great sponsors
  • SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
date-fns js-joda
115 7
33,515 1,576
0.9% 0.5%
9.2 7.5
6 days ago 12 days ago
TypeScript JavaScript
MIT License GNU General Public License v3.0 or later
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

date-fns

Posts with mentions or reviews of date-fns. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-12-26.

js-joda

Posts with mentions or reviews of js-joda. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-10-28.

What are some alternatives?

When comparing date-fns and js-joda you can also consider the following projects:

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

Luxon - ⏱ A library for working with dates and times in JS

moment - Parse, validate, manipulate, and display dates in javascript.

countdown.js - Super simple countdowns.

moment-timezone - Timezone support for moment.js

timeago.js - :clock8: :hourglass: timeago.js is a tiny(2.0 kb) library used to format date with `*** time ago` statement.

fecha - Lightweight and simple JS date formatting and parsing

javascript-time-ago - International highly customizable relative date/time formatting

proposal-temporal - Provides standard objects and functions for working with dates and times.

jquery-timeago - :clock8: The original jQuery plugin that makes it easy to support automatically updating fuzzy timestamps (e.g. "4 minutes ago").

tz-format - Format a date with timezone