Fires when the user changes month, year or time in the selector
myCalendar.attachEvent("onChange", function(date, state){
alert("Date is changed to "+date);
});
Parameters of handler function:
date - (date) the selected date
state - (boolean) in case calendar initialized as date input field, the parameter returns 'true' if date is changed manually (through input field, free text entering) or 'false' if date is changed through selectors