returns the current value of the component
format | string | optional, a date format |
Date|string | a Date object or a string representing the selected date |
webix.ui({
view:"calendar",
id:"calendar1"
});
$$('calendar1').selectDate(new Date(2012,3,30));
$$("calendar1").getValue(); // -> Mon Apr 30 2012 00:00:00 GMT+0300 (EEST)
$$("calendar1").getValue("%d %m %Y") -> '30 04 2012'
The method is analogous to getSelectedDate.