getUTCISOWeek

gets the number of the week by ISO (UTC time)

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

Example

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

Details

Actually, this is an alias to getISOWeek, we need two methods with different names for correct formatting processing.

See also
Back to top