how to convert string object to date objectin java script .plz helpi want to validate a date with the current date when a user enters inthe form