Dateformat

I get date like this 2016-04-15T13:42:14Z
How can I convert string values to DateTime format
I try this:

webix.i18n.dateFormatStr,
webix.i18n.strToDate("%Y-%m-%dT%H:%i:%sZ")
webix.i18n.fullDateFormatDate

what am I doing wrong?

Most simple way is to use native JS Date:

http://webix.com/snippet/59e947b7