Add check for DateTime objects in date/time/datetime validation rules