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 stat
The "DDTHH:mm" addition will fail on some versions - bets to leave it out and use a pure date format. Add the 'Z' to compensate for the time zone if you wish.
select: function(start, end){
var converted_start = moment(start).format('YYYY-MM-DD:HH:mm:ssZ');// the "Z" will adjust for time zone
var converted_end = moment(end).format('YYYY-MM-DD:HH:mm:ssZ');
},