Double calendar sample from live demo

Can someone post the sample code for the double calendar in the live demo ‘event duration’ portion of the website? It’s exactly what I am looking for and the sample code for that would help greatly!



Thanks!


Hello,


setOnClickHandler is used in this demo:


mDCal.setOnClickHandler(function(date,obj,type){
if(type==“left”) left_input.value = obj.getFormatedDate("%d/%m/%Y",date);
else right_input.value = obj.getFormatedDate("%d/%m/%Y",date);
})