Yogesh Saroya Yogesh Saroya - 11 days ago 8
jQuery Question

How to make FullCalendar to display only select month and date

in FullCalendar by default it show current month,date and year but i want custom
like 5 jun 2013 .

how to do this

$(document).ready(function() {

var date = new Date();
var d = date.getDate();
var m = date.getMonth();
var y = date.getFullYear();


$('#calendar').fullCalendar({
theme: true,
header: {
left: 'prev,next today',
center: 'title',
right: 'month,agendaWeek,agendaDay'
},
editable: false,
events: [
{
title: 'Movie In',
start: new Date(y, m, d),
end: new Date(y, m,d),
allDay: true,
},

],
eventColor: '#E42217'
});

});


in


var d = '5';
var m = '7';
var y = '2013';


i have pass custom date month also but not working

thanks

Answer

I think this is what you want: gotoDate