title: fullcalender.formatdate not working
body: <p>I am trying to integrate fullcalender to php mysql.I have used the following code.I want to format the date such it will come in format yyyy/mm/dd but when i use format statements the code isn't working properly.If i remove format date it seems working but inserting 0000/0000/000 00:00 in the database.</p>
  
  <p>my code:</p>
  
  <pre><code> // Convert the allDay from string to boolean
   eventRender: function(event, element, view) {
     if (event.allDay === 'true') {
       event.allDay = true;
     } 
     else {
       event.allDay = false;
     }
   },
   selectable: true,
   selectHelper: true,
   select: function(start, end, allDay) {
     var title = prompt('Sample Textbox:');
     if (title) {
       start = $.fullCalendar.formatDate(start, "yyyy-MM-dd HH:mm:ss");
       end = $.fullCalendar.formatDate(end, "yyyy-MM-dd HH:mm:ss");
       $.ajax({
         url: 'http://localhost/fullcalendar/demos/add_events.php',
         data: 'title='+ title+'&amp;start='+ start +'&amp;end='+ end  ,
         type: "POST",
         success: function(json) {
           alert('Added Successfully');
           alert(json);
         }
      });   
      calendar.fullCalendar('renderEvent',
        {
          title: title,
          start: start,
          end: end,
          allDay: allDay
        },
        true // make the event "stick"
      );
    }
    calendar.fullCalendar('unselect');
  },
  </code></pre>
  
  <p>Can anybody tell me what is the issue?
  If i remove format date it's working else it's not working. But i must format the data to get it properly inserted in the database. I just want date only no need of hours.</p>