is there a way to compare dates/times using javascript that are already coded to output like this: 08/29/2007 8:30 to 08/30/2007 10:00

Var CurrentDateTime output: "MM/DD/YYYY HH:MM"

I am trying to find a way to calculate if the deadline for a project has passed, and have been stuck on the if statement, since you cant really compare variables that have slashes, spaces, and colons in them... or can you?

Any help would be appreciated.