Getting a valid date from the given string according to the format '%m/%d/%Y':

Valid date
2009-05-18