Software Alternatives & Reviews

js-Joda VS Moment.js

Compare js-Joda VS Moment.js and see what are their differences

js-Joda logo js-Joda

Immutable date and time library for JavaScript

Moment.js logo Moment.js

Parse, validate, manipulate, and display dates in JavaScript
  • js-Joda Landing page
    Landing page //
    2021-12-11
  • Moment.js Landing page
    Landing page //
    2021-07-30

Category Popularity

0-100% (relative to js-Joda and Moment.js)
Javascript UI Libraries
23 23%
77% 77
Web Frameworks
43 43%
57% 57
JS Library
25 25%
75% 75
JavaScript Framework
0 0%
100% 100

User comments

Share your experience with using js-Joda and Moment.js. For example, how are they different and which one is better?
Log in or Post with

Social recommendations and mentions

Based on our record, Moment.js seems to be a lot more popular than js-Joda. While we know about 61 links to Moment.js, we've tracked only 6 mentions of js-Joda. We are tracking product recommendations and mentions on various public social media platforms and blogs. They can help you identify which product is more popular and what people think of it.

js-Joda mentions (6)

  • Making your datepicker easier to work with
    So first, a simple example of how this works. Using our "What is your birthday" example, we can mock up this code. Note: I'm using TypeScript because it enforces the concepts at compile time, but the JsJoda library itself enforces the concepts at runtime so that we get the best of both. - Source: dev.to / about 2 years ago
  • Is It Time for the JavaScript Temporal API?
    Temporal is great, and the sooner it lands and is usable the better (AFAIK, there isn't a production-grade polyfill yet.) In the interim, JS-Joda [0] seems pretty decent, and doesn't use the wrapper approach. [0] https://js-joda.github.io/js-joda/. - Source: Hacker News / over 2 years ago
  • [HELP] Time elapsed since midnight breaks on days when DST changes
    Dealing with human dates is non-trivial thanks to localization. The easiest thing to do is to start with something zone agnostic (like UTC or epoch) do your date calculation, and then shift that into the locale you want. date-fns is fine for basic date math, but if you want something more robust, with a more cohesive API, I'd recommend js-joda. Source: over 2 years ago
  • You don't (may not) need Moment.js
    How come the js-joda library is never mentioned in discussions about javascript date/time libraries? Its API is perfect and it has been around forever. But instead the community seems to keep inventing more and more new datetime libraries. I don't understand why js-joda seems to be ignored https://js-joda.github.io/js-joda/. - Source: Hacker News / over 2 years ago
  • Temporal: Getting started with JavaScript's new date time API
    They already have that for JS! https://js-joda.github.io/js-joda/. - Source: Hacker News / almost 3 years ago
View more

Moment.js mentions (61)

  • How to Convert String to Date in JavaScript
    To learn more about Moment.js, please visit their official website. - Source: dev.to / 26 days ago
  • 8 NPM Packages for JavaScript Beginners [2024][+tutorials]
    Ah, Moment.js, the guardian angel of date and time manipulation. Ever needed to format a date, calculate durations, or display something like "2 days ago"? Moment.js has got your back. It's a lifesaver for anything date and time-related, making it a must-have in your project, especially if you're into making your users feel like you really get them. - Source: dev.to / 29 days ago
  • Adding "Created At" and "Last Updated" Dates to Jekyll
    After hours of trying to figure out why Jekyll was still showing "Today" for a post I modified last week, I remembered that I am using the timeago filter from jekyll-timeago plugin. I was rendering the dates using {{ doc.last_modified_at | timeago }}. As you know, Jekyll is a static site generator, and it renders this as HTML at the time of build, and only then. This means any date rendered with timeago is... - Source: dev.to / 4 months ago
  • The 20 most used React libraries
    Moment: Handles date and time manipulations with ease. Learn more. - Source: dev.to / 4 months ago
  • 👨‍🚀 Traversing Time with Intl.RelativeTimeFormat()
    For the longest time working with dates in JavaScript was a huge pain. That’s why libraries such as moment.js or date-fns are so popular. A lot of times I’d reach for these libraries when working with relative time formatting, but since late last year we’ve had pretty great browser support for the RelativeTimeFormat() method. In my mind, relative dates are just more visually appealing, especially for working with... - Source: dev.to / 5 months ago
View more

What are some alternatives?

When comparing js-Joda and Moment.js, you can also consider the following products

date-fns - date-fns provides the most comprehensive yet simple and consistent toolset for manipulating JavaScript dates in a browser & Node.js.

Luxon - Application and Data, Libraries, and Javascript Utilities & Libraries

Day.js - 2kB JavaScript date utility library

AngularJS - AngularJS lets you extend HTML vocabulary for your application. The resulting environment is extraordinarily expressive, readable, and quick to develop.

Nuxt.js - Nuxt.js presets all the configuration needed to make your development of a Vue.js application enjoyable. It's a perfect static site generator.

Next.js - A small framework for server-rendered universal JavaScript apps