creates new date formatting method
format | string | date format |
utc | boolean | convert local time to UTC during conversion |
function | formatting function |
var myformat = webix.date.dataToStr("%m - %d");
var text = myformat(new Date());
//or directly
{view:"datepicker",
format: webix.Date.dateToStr("%d/%m/%y")
}
Back to top