Only allow String types to be set as Date types if the word Date or Time is in the field name