Set date in calendar component

Hi to all,
i want to set the default date in calender as 10 jan,2000. for the i wrote following code

myDate=new Date(2000,1,10)
myCal.setSelectedItem(myDate);
myCal.setDisplayedMonth(myDate);

but my date component is showing current date… can anybody help me for the same???

thanks
Nehal

man… isn’t that calendar componant a pain in the ass?? I can’t figure it out.

sorry I can’t help you… but maybe it’s a help just to know that others are having a problem with that componant as well. :slight_smile: