How do I get elements using getCriteria from a specific date? I'm trying to get elements in a section created on a specific date. How do I do that?

This is what I've been trying with:

$criteria               = craft()-&gt;elements-&gt;getCriteria(ElementType::Entry);
$criteria-&gt;section  = 'sectionHandle';
$criteria-&gt;postDate     = '2014-11-04';
Something like this should work:

$criteria = craft()-&gt;elements-&gt;getCriteria(ElementType::Entry);
$criteria-&gt;section  = 'sectionHandle';
$criteria-&gt;postDate = array('and', '&gt; 2014-11-03 23:59:59', '&lt; 2014-11-05 00:00:00');
$results = $criteria-&gt;find();