How to display Current date in calendar's box

I just need to display current date in calendar box. I cant find it in any samples.
Thankyou,

Today is the default calendar date.

If you are asking about value of the input with attached calendar, you can set it via document.getElementById(“inputId”).value = … approach. For example:

myCalendar = new dhtmlXCalendarObject(“calendarInput”);
document.getElementById(“calendarInput”).value = myCalendar.getFormatedDate();