title: parse dates with icalendar and compare to python datetime
body: <p>I have an .ics file from which I would like to extract all of the events that occur on today's day.  I think I'm having trouble converting the icalendar DTSTART and DTEND to python datetimes.  I've tried to follow the documentation at <a href="http://icalendar.readthedocs.org/en/latest/usage.html" rel="nofollow">icalendar.readthedocs.org</a>.  The list I'm getting is empty, which should not be the case.</p>
  
  <p>This is my code: </p>
  
  <pre><code>import urllib2
  import json
  from datetime import datetime
  from icalendar import Calendar, Event, vDatetime
  
  
  def getTodayEvents(icsFile):
      cal = Calendar.from_ical(icsFile)
      today = datetime.now().date()
      entries = []
      for event in cal.walk('VEVENT'):
          dtstart = event['DTSTART']
          dtend = event['DTEND']
          start = vDatetime.from_ical(dtstart)      //Trouble here?
          end = vDatetime.from_ical(dtend)
          if start &lt;= today &lt;= end:
              entry = {'summary' : event['SUMMARY'] }
              entries.append(entry)
     output = json.dumps(entries)
     return output                                  //This list is empty
  </code></pre>
  
  <p>And this is what the and ics entry looks like:</p>
  
  <pre><code>BEGIN:VEVENT
  SUMMARY:Jonny Smith
  DTSTART;VALUE=DATE:20140731
  DTEND;VALUE=DATE:20150802
  UID: 12345
  CLASS:PUBLIC
  PRIORITY:5
  DTSTAMP:20141006T160145Z
  TRANSP:OPAQUE
  STATUS:CONFIRMED
  SEQUENCE:0
  LOCATION:Mansfield\, GA
  X-MICROSOFT-CDO-APPT-SEQUENCE:0
  X-MICROSOFT-CDO-BUSYSTATUS:FREE
  X-MICROSOFT-CDO-INTENDEDSTATUS:BUSY
  X-MICROSOFT-CDO-ALLDAYEVENT:TRUE
  X-MICROSOFT-CDO-IMPORTANCE:1
  X-MICROSOFT-CDO-INSTTYPE:0
  X-MICROSOFT-DISALLOW-COUNTER:FALSE
  END:VEVENT
  </code></pre>