Fixed parseTypes for date

Check if value is a date.