Common Date formatter libraries in React (TypeScript)

This page summarizes the projects mentioned and recommended in the original post on /r/reactjs

Our great sponsors
  • SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • dayjs

    ⏰ Day.js 2kB immutable date-time library alternative to Moment.js with the same modern API

  • You-Dont-Need-Momentjs

    List of functions which you can use to replace moment.js + ESLint Plugin

  • SurveyJS

    Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.

    SurveyJS logo
  • date-fns

    ⏳ Modern JavaScript date utility library ⌛️

  • The default date constructor does a really great job at parsing in most cases and things like addition/subtraction along with many other common operations are usually just simple math. If you really want to abstract that use date-fns where most date operations are tree shakable to be left with just a few lines of code.

  • proposal-temporal

    Provides standard objects and functions for working with dates and times.

  • in my opinion it's time to start using Temporal, the new integrated API for handling date / time in JS. It's not in Browsers yet, but the polyfill works well.

  • dateformat

    A node.js package for Steven Levithan's excellent dateFormat() function.

  • https://www.npmjs.com/package/dateformat This helps me.

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts