I have code which updates a MySQL db getting data from the explode function. The problem fields are two dates which are handled as strings within the php code. The MySQL fields for these dates are varchar.

The code correctly updates the two date fields when run in Firefox or Chrome. However in IE the string value used to update is prefixed with what looks like time data - 00:0-07-11 where the value should be 2013-07-11 - format being Y,m,d.

There are no problems with the SQL update in IE when I assign the values for the string directly

The key differences are single digit days - not 0 padded - and a different location for the year. Sortable with a bit of string manipulation. It would be better to use a Unix Timestamp - but I'm not sure yet how I get this from the FullCalendar JQuery plug in.