🔥🔥🔥 date-fns v2 is out! 🔥🔥🔥
⭐️ Upgrading from v1 to v2?
- See the changelog
- Check out @date-fns/upgrade and @date-fns/upgrade-codemod, they could help you with the upgrade!
//=> '2014-02-11'const dates =1995 6 21987 1 111989 6 10dates//=> [// Wed Feb 11 1987 00:00:00,// Mon Jul 10 1989 00:00:00,// Sun Jul 02 1995 00:00:00// ]
The library is available as an npm package. To install the package run:
npm install date-fns --save# or with yarnyarn add date-fns
See date-fns.org for more details, API, and other docs.
✉️ Get jobs worth sharing to your email! Subscribe to the newsletter.