The error you are encountering is because the new Date() constructor in JavaScript expects a date string in a specific format that it can parse correctly. The format you’re using, “23/07/2024 8:24 AM”, is not a format that new Date() can automatically parse. To solve this, you can either reformat the date string to a… Continue reading How to fix the issue “RangeError: time value is not a finite number”?