How to present a date to the user?

This page summarizes the projects mentioned and recommended in the original post on reddit.com/r/learnprogramming

Our great sponsors
  • Appwrite - The Open Source Firebase alternative introduces iOS support
  • SonarLint - Deliver Cleaner and Safer Code - Right in Your IDE of Choice!
  • JetBrains - Developer Ecosystem Survey 2022
  • Scout APM - Less time debugging, more time building
  • moment

    Parse, validate, manipulate, and display dates in javascript.

    The most common alternative is a library called momentjs . Moment fixes some of the issues with native Javascript dates. I am personally not a huge fan, because moment, like Javascript Date conflates timestamps, datetimes and dates. But it's widely used and so should be seriously considered.

  • date-fns

    ⏳ Modern JavaScript date utility library ⌛️

    datefns is an alternative library that has a different philosophy. Rather than using a different type to represent dates, it has you continue using native dates, but provides tons of functions to do common tasks like parsing, formatting and date math.

  • Appwrite

    Appwrite - The Open Source Firebase alternative introduces iOS support . Appwrite is an open source backend server that helps you build native iOS applications much faster with realtime APIs for authentication, databases, files storage, cloud functions and much more!

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