// Default selected date defaultDate: { day:today.getDate(), // 1 through 31 month:today.getMonth(), // 0 through 11 year:today.getFullYear() // No limits }
// Current language (see live demo at http://rendezvous.julien-marcou.fr) i18n: { /* ... */ }
Custom callback
$('#my-datepicker').RendezVous(function(rdv) { // To open the datepickerrdv.open(); // To close the datepickerrdv.close(); // To set the day of the datepickerrdv.setDay(day); // 1 through 31// To get the day of the datepickerrdv.getDay(); // To set the month of the datepickerrdv.setMonth(month); // 1 through 12// To get the month of the datepickerrdv.getMonth(); // To set the year of the datepickerrdv.setYear(year); // No limits// To get the year of the datepickerrdv.getYear(); // To get the decade of the datepickerrdv.getDecade(); // To set the date of the datepicker// (combination of the 3 previous)rdv.setDate(day, month, year); // To get the date of the datepicker (Date object)rdv.getDate(); // To set the date to the previous dayrdv.previousDay(); // To set the date to the next dayrdv.nextDay(); // To set the date to the previous monthrdv.previousMonth(); // To set the date to the next monthrdv.nextMonth(); // To set the date to the previous yearrdv.previousYear(); // To set the date to the next yearrdv.nextYear(); // To set the date to the previous decaderdv.previousDecade(); // To set the date to the next decaderdv.nextDecade(); // To set the scale of the datepickerrdv.setScale(scale); // month, year, decade// To get the current scale of the datepickerrdv.getScale(); });