date-fns is a modern JavaScript date utility library that offers the most comprehensive toolset for manipulating JavaScript dates in a browser and Node.js. It’s complete and yet simple, because the API is unambiguous, with just one approach to a problem. It’s highly reliable and consistent, always respecting timezones and DST. And it’s also modular, so you don’t have to bloat your project with unnecessary functionality.

date-fns supports TypeScript and Flow, and is supported by an amazing community with dozens of locales.

Features

  • Modular
  • Native date - uses the existing native type
  • Immutable and pure - built with pure functions
  • Supports TypeScript and Flow
  • Functional programming submodule
  • I18n
  • Consistent and reliable - respects timezones and DST, and follows semantic versioning
  • Simple API
  • Small and fast

Project Samples

Project Activity

See All Activity >

Categories

Libraries

License

MIT License

Follow date-fns

date-fns Web Site

Other Useful Business Software
MongoDB Atlas runs apps anywhere Icon
MongoDB Atlas runs apps anywhere

Deploy in 115+ regions with the modern database for every enterprise.

MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of date-fns!

Additional Project Details

Operating Systems

Linux, Mac, Windows

Programming Language

JavaScript

Related Categories

JavaScript Libraries

Registered

2020-06-11