2019-07-24
2695
#vanilla javascript
Fernando Doglio
4112
Jul 24, 2019 ⋅ 9 min read

The 7 best JavaScript date libraries

Fernando Doglio Technical Manager at Globant. Author of books and maker of software things. Find me online at fdoglio.com.

Recent posts:

Exploring The Aha Stack: Astro, Htmx, Alpine — A Complete Tutorial With A Demo Project And Comparison To Other Stacks

Exploring the AHA stack: Tutorial, demo, and comparison

The AHA stack — Astro, htmx, and Alpine — is a solid web development stack for smaller apps that emphasize frontend speed and SEO.

Oyinkansola Awosan
May 3, 2024 ⋅ 13 min read
Comparing Hattip Vs Express Js For Modern Application Development

Comparing Hattip vs. Express.js for modern app development

Explore what Hattip is, how it works, its benefits and key features, and the differences between Hattip and Express.js.

Antonello Zanini
May 2, 2024 ⋅ 8 min read
Using React Shepherd To Build A Site Tour

Using React Shepherd to build a site tour

React Shepherd stands out as a site tour library due to its elegant UI and out-of-the-box, easy-to-use React Context implementation.

Onuorah Bonaventure
May 1, 2024 ⋅ 14 min read
A Guide To Cookies In Next Js

A guide to cookies in Next.js

Cookies are crucial to web development. This article will explore how to handle cookies in your Next.js applications.

Georgey V B
Apr 30, 2024 ⋅ 10 min read
View all posts

4 Replies to "The 7 best JavaScript date libraries"

  1. Awesome summary. I was convinced to try date-fns over moment. I just wish you had mentioned here (since date-fns does not, at the time, in their documentation) that if you want to use it in a browser, you must use a bundler to build the .js file yourself. Due to time constraints, it is no longer available on a CDN or for download.

  2. Moment is not immutable https://momentjs.com/guides/#/lib-concepts/mutability/ and it’s in their documentation since a very long time ago. Another thing in their documentation is that they don’t recommend their library anymore. Chrome dev tools recommend not using it for its bundle size alone. Please, update this article, it’s very misleading to have momentjs in the top like a “clear winner” or “because it’s the most known”.

Leave a Reply