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:

Mastering Modulo Operator JavaScript

Mastering the modulo operator in JavaScript: A complete guide

We investigate how the modulo operator works in JavaScript and explore several real-life applications, like cyclic patterns and animations.

Timonwa Akintokun
Dec 8, 2023 ⋅ 7 min read
Ken Pickering Leader Spotlight

Leader Spotlight: Building with grit with Ken Pickering

Ken Pickering discusses the challenges associated with uncertainty and shares insights on scaling data structures and engineering teams.

Jessica Srinivas
Dec 8, 2023 ⋅ 7 min read
Understanding Solid Js Props A Complete Guide From Beginner To Advanced

Understanding SolidJS props: A complete guide

Let’s see how Solid props work to promote component reusability, exploring basic to advanced concepts for a complete understanding.

Temitope Oyedele
Dec 7, 2023 ⋅ 11 min read
Leader Spotlight Alan Fliegelman

Leader Spotlight: Leaning into opportunity through change, with Alan Fliegelman

Alan Fliegelman shares how his work at DHI is transforming the job search process and the various transitions he’s seen in his time there.

Kate Trahan
Dec 7, 2023 ⋅ 8 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