What do you want to save?
Add Code snippet
New code examples
-
TypeScript 2021-11-02 10:45:05
check if a date is before another date in typescript
// convert date format to "YYYY-MM-DD" var a = new Date().toJSON().slice(0, 10) // get date from input field, by default is "YYYY-MM-DD" format var b = document.getElementById('datePicker').value // compare console.log(a == b) console... Add solution
Best helpers
+5
+5
+5
+5
+5
+5
+5
+5
+5