Date-fns Alternatives

Similar projects and alternatives to date-fns

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better date-fns alternative or higher similarity.

Suggest an alternative to date-fns

Reviews and mentions

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 2021-10-26.
  • 20+ JavaScript Utilities to Boost Your Productivity As a Developer
    dev.to | 2021-10-26
    6. Date-fns
  • React/Webpack: From MB to KB. How we solved our bundling problem
    dev.to | 2021-10-20
    Second step was removing the “heavy” libraries, it was easy removing Moment.js, Bluebird. We replaced the first with date-fns and Bluebird with native promises. Lodash unfortunately because of time constraints we could not refactor into moving out from some “handy” utilities it provides but we are planning to.
  • Any bad experience with libraries such as date-fns.js or sugar.js (instead of moment.js) with Netsuite SuiteScript 2.X? (xposted from /r/Netsuite)
    I've been meaning to use moment.js for a long time in Netsuite but instead always jimmied around with native javascript date functions. Finally getting around to doing some basic functions with moment.js in a couple of solutions, but non-Netsuite developers are telling me date-fns.js is more intuitive and lightweight than moment.js. Also there are other libraries like sugar.js with functions like "Date.create('last week Friday');" which look like it would be fun to use with N/query or N/search.
  • How I rebuilt my Angular blog and became an Astronaut 🚀
    dev.to | 2021-10-12
    date-fns - Modern functional library for working with dates.
  • how can i create 9/30/2021 12:54:03 pm through moment js?
    I would strongly recommend using date-fns instead. With date-fns you can just do:
  • How to Debug Cloudflare Workers with AppSignal
    dev.to | 2021-09-22
    We'll build a simple POST request handler that calculates a person's age based on their date of birth. This POST handler will accept date information via JSON. We'll use the date-fns package to handle date calculations.
  • By nightfall these node_modules will be swarming with dependencies
    https://date-fns.org/ is way better and still maintained
  • 3 Neat Features of JavaScript's Much-Maligned Date Class
    dev.to | 2021-09-21
    While toLocaleString() isn't perfect, it does provide some rudimentary formatting, including timezone support. We still recommend using Moment or date-fns for most apps, but you can get away with toLocaleString() for some basic formatting.
  • Displaying an image only at night ! (challenge)
    If you use JavaScript it will localize to the user’s time zone & work anywhere. Moz docs on Date. You might find Date fns helpful.
  • The Easiest Way To Format Dates In JavaScript
    dev.to | 2021-08-25
    To use the Intl.RelativeTimeFormat, you need to calculate with dates. You can do it yourself, but I find date-fns one of the best modular JavaScript libraries to handle dates. So in this example, I will use that library.
  • 8 Node.js Projects To Keep An Eye On 2021
    dev.to | 2021-08-23
    Website -> https://date-fns.org/
  • Day.js vs date-fns
    dev.to | 2021-08-06
    In this article, I'll summarize Day.js & [date-fns](https://date-fns.org/] comparison, that concludes this series.
  • What is the size impact of importing multiple methods from date-fns
    dev.to | 2021-08-05
    In this article, I'll look at application size with multiple methods imported from date-fns. In the previous benchmark attempt, I was only using 1 method from each library. date-fns, as the only one built with tree-shaking in mind, enjoyed an advantage in this comparison that it will not have in real-world applications.
  • Creating a Medium API for Next.js from an RSS feed
    dev.to | 2021-07-24
    date-fns: A modern, comprehensive toolset for working with JavaScript dates. We'll be using it for date manipulation and parsing.
  • Date Formatting
    Yeah, as the other guys said, Moment is done with. The creators, and many others suggest using date-fns. I have no experience with it, but it's what came up a lot when I was searching for alternatives.

Stats

Basic date-fns repo stats
38
26,939
9.1
about 1 month ago

date-fns/date-fns is an open source project licensed under MIT License which is an OSI approved license.

Scout APM: A developer's best friend. Try free for 14-days
Scout APM uses tracing logic that ties bottlenecks to source code so you know the exact line of code causing performance issues and can get back to building a great product faster.
scoutapm.com
Find remote JavaScript jobs at our new job board 99remotejobs.com. There are 17 new remote jobs listed recently.
Are you hiring? Post a new remote job listing for free.