Quantcast
Viewing all articles
Browse latest Browse all 58

Answer by Carsten Führmann for Detecting an "invalid date" Date instance in JavaScript

I rarely recommend libraries when one can do without. But considering the plethora of answers so far it seems worth pointing out that the popular library "date-fns" has a function isValid.


Viewing all articles
Browse latest Browse all 58

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>