title: Time format used in .ics file?
body: <p>I am creating an .ics file in Java, and I need to know what date and time format to use.</p>
  
  <p>Here is the current format of my ics file:</p>
  
  <pre><code>BEGIN:VCALENDAR
  VERSION:2.0
  BEGIN:VEVENT
  DTSTART:20120901T180000
  DTEND:20120901T183000
  SUMMARY:my birthday
  LOCATION:Bangalore
  DESCRIPTION:Every one is welcome..!! time to party
  PRIORITY:3
  END:VEVENT
  END:VCALENDAR
  </code></pre>
  
  <p>I used <code>ISO_DATETIME_TIME_ZONE_FORMAT</code> to convert my date to the required format, but it returned <code>2012-09-01T18:00:00+00:00</code></p>
  
  <p>What is the date format used in the <code>DTSTART</code> and <code>DTEND</code> values? Specifically, how can I format this properly in Java?</p>