returns the currently selected date
isFormatted | boolean | if true - returns date as string in current date format |
Date|string | the selected date |
var d = myCalendar.getDate();
console.log(d); // {Fri Mar 01 2013 16:00:00 GMT+0300}
var d = myCalendar.getDate(true);
console.log(d); // "2013-03-01"
Back to top