2

Now the default date is 2017-12-12...

$(document).ready(function() {

    $('#calendar').fullCalendar({
      header: {
        left: 'prev,next today',
        center: 'title',
        right: 'month,agendaWeek,agendaDay,listWeek'
      },


      defaultDate: '2017-12-12',
      navLinks: true, // can click day/week names to navigate views
      businessHours: true, // display business hours
      editable: true,
      eventLimit: true, // allow "more" link when too many events
Anant Kumar Singh
  • 68,309
  • 10
  • 50
  • 94
Seonbae
  • 23
  • 1
  • 3

2 Answers2

0
$('#calendar').fullCalendar({
    defaultDate: new Date()
});

or

$('#calendar').fullCalendar({
    defaultDate: moment('2014-09-01'),
    ...
});
Ghostman
  • 5,918
  • 9
  • 33
  • 52
-1

you can directly set today as default in this script

$("#calendar").datepicker().datepicker("setDate", new Date());
jasinth premkumar
  • 1,406
  • 1
  • 11
  • 22