support MM/DD and MM/DD/YYYY for dates