Hello, I wanted to know if there were a better way to get the value of the current time, parse it using the scheduler’s build-in date parsing functionality, and then insert into the input textbox? So far I got it working, but it outputs the full date:
Wed May 30 2012 00:00:00 GMT-0300 (Atlantic Daylight Time)
I would like to only grab ‘May 30 2012’ from the string above. Any ideas? Here’s a code snippet that I modified a little from the example provided in samples folder:
function show_start_minical(input) {
if (scheduler.isCalendarVisible())
scheduler.destroyCalendar();
else
scheduler.renderCalendar({
position:"start_shift",
date:scheduler._date,
navigation:false,
handler:function(date, calendar){
input.value = date;
scheduler.destroyCalendar();
}
});
}