title: Google Calendar PHP Retrieve events by specified date range
body: <p>I know that you can retrieve events for a specified date range, but
  how can I retrieve events for one specified date (a single day)?</p>
  
  <p>I tried setting both setStartMin() and setStartMax to the same date,
  but that doesn't work. It seems that there has to be at least one day
  in between Min and Max.</p>
  
  <p>Here is the code I am using:</p>
  
  <pre><code>            $startDate='2009-07-23';
              $endDate='2009-07-23';
  
              $gdataCal = new Zend_Gdata_Calendar($client);
              $query = $gdataCal-&gt;newEventQuery();
              $query-&gt;setUser('default');
              $query-&gt;setVisibility('private');
              $query-&gt;setProjection('full');
              $query-&gt;setOrderby('starttime');
              $query-&gt;setStartMin($startDate);
              $query-&gt;setStartMax($endDate);
              $eventFeed = $gdataCal-&gt;getCalendarEventFeed($query);
  </code></pre>
  
  <p>Any ideas? Thanks... </p>
  
  <p>EDIT:</p>
  
  <p>Nevermind, I just found:</p>
  
  <p>"Note that while the startMin is inclusive, startMax is exclusive, so specifying a startMax of '2007-08-01' will include those events up until 2007-07-31 11:59:59PM."</p>