I am dealing with an old database. I need to compare dates to each other. One date type is datetime
and the other is a string
.
When I try to convert
07/25/2019 06:30AM
using new Date(Date.parse(07/25/2019 06:30AM))
I get the error Invalid Date.