creates a copy of a date
date | Date | a date object |
Date | a copy of the date object |
var date1 = new Date(2012,11,12);
var date2 = webix.Date.copy(date1);
console.log(date1); // -> Wed Dec 12 2012 00:00:00 GMT+0300
console.log(date2); // -> Wed Dec 12 2012 00:00:00 GMT+0300
Back to top