Our great sponsors
-
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.
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.
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.