title: PHP - Formated Date to UNIX to iCal
body: <p>I'm trying to format my stored dates <code>2013-04-23 19:00</code> to iCal format: <code>20130423T190000</code>.
  Here's how I'm trying to do it:</p>
  
  <pre><code>$start = strtotime($event["event_start"]);
  $start = date('Ymd\THis',$start);
  </code></pre>
  
  <p>This code returns <code>19691231T190000</code>.</p>
  
  <p>I thought that because the starting string is missing seconds, that could have been the problem, but after trying <code>$start = strtotime($event["event_start"] . ":00");</code> I've ruled that out.</p>