getISOWeek

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

number getISOWeek(object date);

Parameters

dateobjecta date object

Returns

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