strToDate
creates a new date parsing method
function strToDate(string format, [boolean utc] );
| format | string | a date format |
| utc | boolean | convert a string in UTC time format to a date in local time |
| function | a formatting function |
Example
var myparse = webix.Date.strToDate("%m - %d");
var date = myparse("04 - 22");
Related samples
See also
Back to top
Join Our Forum
We've retired comments here. Visit our forum for faster technical support,
connect with other developers, and share your feedback there.