date-fns

date-fns

Modular functional date utility library that exposes small per-function imports for parsing, formatting, arithmetic, comparisons, durations and locales, keeping the bundle tree-shakable instead of shipping one mutable Date wrapper.

date-fns at date-fns.org is a free MIT modular functional date utility library, npm date-fns 4.4.0 no declared Node engines, operations are small standalone functions applied to a Date instance for formatting parsing arithmetic comparisons durations and timezone helpers, imported only where used with separate locale modules, immutable style for browser and Node apps where bundle size matters, no sold commercial tier (data as of Nov 22, 2026).

Visit Official Website

*This is an affiliate link, we may earn a commission at no extra cost to you.

Is date-fns free?

date-fns: date-fns is free open-source software released under the MIT License; the date-fns package latest 4.4.0 on npm does not declare a Node engines range. Date operations are small standalone functions applied to a Date instance: formatting, parsing, adding or subtracting units, comparing start of day, durations and timezone-aware helpers are imported only where used, and locales ship as separate modules. It stays immutable in style and is commonly used in browser and Node applications where bundle size matters. No paid commercial edition or per-seat license is sold by the project (data as of Nov 22, 2026). Check the official page for current status before relying on it.

Frequently Asked Questions

Is date-fns free?

The code is free to self-host, but a hosted plan from the vendor may not be. date-fns publishes its source, so cost depends on where you run it.

How much does date-fns cost?

date-fns is free open-source software released under the MIT License; the date-fns package latest 4.4.0 on npm does not declare a Node engines range. Date operations are small standalone functions applied to a Date instance: formatting, parsing, adding or subtracting units, comparing start of day, durations and timezone-aware helpers are imported only where used, and locales ship as separate modules. It stays immutable in style and is commonly used in browser and Node applications where bundle size matters. No paid commercial edition or per-seat license is sold by the project (data as of Nov 22, 2026). Usage volume, plan limits and add-ons can push the bill above the figures shown, so confirm the current numbers on the vendor page before committing.

Where can I check date-fns's current pricing?

On date-fns's official site, linked from this page. We only publish a price after reading the vendor's own pricing page, so if this page shows no number, it means no traceable public price is on file — not that the tool is free.

What is date-fns?

Each operation is a named function that takes a Date and options, returning a new Date or formatted value; locales and advanced features are imported separately so the build only bundles what the app uses.

How does pricing work?

The library installs free under MIT with no seat license; the runtime and browser environment follow their own terms, and commercial date support would be outside the open-source project.

How does date-fns compare with other tools in Dev Workflow & Productivity?

date-fns is listed in the Dev Workflow & Productivity category, alongside 2 other tools we track here. 2 of those 2 peers have a dated price we read from the vendor's own pricing page, and the table below shows each tool's pricing model next to the exact rate on file — so the comparison is between published numbers, not between marketing pages.

ToolPricing modelKey pricing on filePrice checked
date-fnsOpen sourcedate-fns is free open-source software released under the MIT License; the date-fns package latest 4.4.0 on npm does not declare a Node engines range. Date operations are small standalone functions applied to a Date instance: formatting, parsing, adding or subtracting units, comparing start of day, durations and timezone-aware helpers are imported only where used, and locales ship as separate modules. It stays immutable in style and is commonly used in browser and Node applications where bundle size matters. No paid commercial edition or per-seat license is sold by the project (data as of Nov 22, 2026).Nov 22, 2026
Day.jsOpen sourceDay.js is free open-source software released under the MIT License; the dayjs package latest 1.11.23 on npm does not declare a Node engines range. It wraps the native Date in an immutable object with a chainable interface close to Moment, so formatting, parsing, add/subtract, relative and comparison calls read in one line. Plugins add UTC, timezone, relative time, week-of-year, custom locales and calendar formats, loaded on demand. The core stays around a few kilobytes and works in browsers and Node. No paid commercial edition or per-seat license is sold by the project (data as of Nov 22, 2026).Nov 22, 2026
LuxonOpen sourceLuxon is free open-source software released under the MIT License; the luxon package latest 3.7.2 on npm requires Node 12 or above. It exposes DateTime, Interval and Duration objects that wrap instants and wall-clock times, format through the platform Intl API for localized output, resolve IANA timezones, and support arithmetic, rounding and comparison. It was built by the Moment team as a cleaner successor model rather than a drop-in Moment fork. No paid commercial edition or per-seat license is sold by the project (data as of Nov 22, 2026).Nov 22, 2026

3 of these 3 entries carry a specific price we read from the vendor's site. Where the column says there is no dated price on file, we have not verified a rate — treat that as unknown rather than free, and check the vendor's page before you budget for it.

Full pricing breakdown

date-fns's source code is publicly available, so you can run or build it yourself. The project may also sell a paid hosted or cloud plan — check the official site for current pricing.

Open source does not always mean every hosted version is free.

Key pricing: date-fns is free open-source software released under the MIT License; the date-fns package latest 4.4.0 on npm does not declare a Node engines range. Date operations are small standalone functions applied to a Date instance: formatting, parsing, adding or subtracting units, comparing start of day, durations and timezone-aware helpers are imported only where used, and locales ship as separate modules. It stays immutable in style and is commonly used in browser and Node applications where bundle size matters. No paid commercial edition or per-seat license is sold by the project (data as of Nov 22, 2026).

Estimate your monthly bill with our calculator →Or build a full stack around your budget →

Pricing Guides & Comparisons

Plan prices in these guides are read from each vendor's own pricing page, with the date we checked them.

⭐ Rate this tool

How would you rate this tool?

🚀 Never Miss a New AI Coding Tool

Join 1,000+ developers getting our weekly roundup: new AI tools, student free tiers, exclusive discounts, and side project deals. No spam, unsubscribe anytime.

Tool Information

  • Official Websitedate-fns.org
  • CategoryDev Workflow & Productivity
  • PricingOpen Source
  • Price checkedNov 22, 2026

Newsletter

Join the Community

Subscribe to our newsletter for the latest news and updates