I'm trying to get all elements whose custom field satisfies a specific value. I've got the ElementCriteriaModel but I'm unsure how to set the field and value I'm looking for, from the documentation
$criteria = craft()->elements->getCriteria(ElementType::Entry);
Any ideas? If I'm not using the correct service, then which is the recommended one?
Thanks in advance
Field in question is a datetime field by the name
startTime. I'm searching for all entries whose date-part matches a given date