title: Convert Fullcalendar start/end date for mysql
body: <p>Hy i was wondering how can i convert FullCalendar start and end date so i can insert it in database, this is the output given by fullcalendar js:</p>
  
  <blockquote>
    <p>end   Thu Aug 16 2012 00:00:00 GMT 0300</p>
    
    <p>start Wed Aug 08 2012 00:00:00 GMT 0300</p>
  </blockquote>
  
  <p>it can be done either by javascript or php, and this is what i am sending thouth json:</p>
  
  <blockquote>
    <p>title=test&amp;start=Wed Aug 08 2012 00:00:00 GMT+0300&amp;end=Thu Aug 16
    2012 00:00:00 GMT+0300&amp;uid=7</p>
  </blockquote>
  
  <pre><code>&gt; $.ajax({
  &gt;       cache: false,
  &gt;       type: 'POST',
  &gt;       url: siteURL + 'ajax/add_holiday',
  &gt;       data: 'title=' + title + '&amp;start=' + start +'&amp;end=' + end + '&amp;uid=' + '&lt;?php echo $_SESSION['user']-&gt;uid; ?&gt;',
  &gt;       success: function(data) {
  &gt;                   
  &gt;       }
  &gt;   });
  </code></pre>