getISOWeek

gets the number of the week by ISO (local time zone)

number getISOWeek(Date date);
dateDatea date object
numberthe number of the week

Example

var date1 = new Date(2013,11,12,8,35);
var result = webix.Date.getISOWeek(date1);
 
console.log(result); // -> 50

See also
Back to top