Software Alternatives, Accelerators & Startups

How to parse and format a date in JavaScript

Luxon date-fns
  1. 1
    Application and Data, Libraries, and Javascript Utilities & Libraries
    Pricing:
    • Open Source
    Luxon (14.7k ⭐) — A library that leverages JavaScript’s Intl for speed and slimness while providing what Intl doesn’t: an immutable user-friendly API. It also supports time zones and localization.

    #Javascript UI Libraries #Web Frameworks #JS Library 14 social mentions

  2. 2
    2kB JavaScript date utility library
    Pricing:
    • Open Source
    Day.js (45.3k ⭐) — A minimalist library that offers an excellent API without much overhead. It is very similar to Moment.js but much smaller in size. It also supports plugins for additional features.

    #Javascript UI Libraries #JS Library #Application And Data 36 social mentions

  3. date-fns provides the most comprehensive yet simple and consistent toolset for manipulating JavaScript dates in a browser & Node.js.
    Pricing:
    • Open Source
    Date-fns (33.3k ⭐) — A library that offers great documentation, functional architecture, and utilities that handle almost any task you can think of. It has a modular design that allows you to import only the functions you need.

    #Javascript UI Libraries #Web Frameworks #JS Library 73 social mentions

Discuss: How to parse and format a date in JavaScript

Log in or Post with