title: .ics Calendar File - Parsing Date Time - What is the time format?
body: <p>I am coding in php, attempting to get the start\end dates and times for events. I am utilizing the following RegEx for parsing out the information:</p>
  
  <pre><code>$pattern='/(?P&lt;StartDate&gt;[0-9]{8})T(?P&lt;StartTime&gt;[0-9]{6})
  .+(?P&lt;EndDate&gt;[0-9]{8})T(?P&lt;EndTime&gt;[0-9]{6})/';
  </code></pre>
  
  <p>The sample event entry is here:</p>
  
  <pre><code>BEGIN:VEVENT
  UID:34b09fd7-8e6e-4d56-86b0-445745b89d93
  ORGANIZER;CN=*********:mailto:*********
  DTSTART;TZID="(GMT-06.00) Central Time (US &amp; Canada)":20100413T130000
  DTEND;TZID="(GMT-06.00) Central Time (US &amp; Canada)":20100413T160000
  STATUS:CONFIRMED
  CLASS:PRIVATE
  X-MICROSOFT-CDO-INTENDEDSTATUS:BUSY
  TRANSP:OPAQUE
  X-MICROSOFT-DISALLOW-COUNTER:TRUE
  DTSTAMP:20100414T140711Z
  SEQUENCE:0
  END:VEVENT
  </code></pre>
  
  <p>20100413T130000 and 20100413T160000 are the start and end points.</p>
  
  <p>The dates are straight forward, however how do I interpret the time part? </p>
  
  <p>This event starts at one and ends at four.</p>