lib/vecka.js
function () {
    var date = new Date();
    date.setHours(0, 0, 0);
    date.setDate(date.getDate() + 4 - (date.getDay() || 7));
    return Math.ceil((((date - new Date(date.getFullYear(), 0, 1)) / 8.64e7) + 1) / 7);
  }
function () {
    var date = new Date();
    date.setHours(0, 0, 0);
    date.setDate(date.getDate() + 4 - (date.getDay() || 7));
    return Math.ceil((((date - new Date(date.getFullYear(), 0, 1)) / 8.64e7) + 1) / 7);
  }
function ( ) { var date = new Date ( ) ; date . setHours ( 0 , 0 , 0 ) ; date . setDate ( date . getDate ( ) + 4 - ( date . getDay ( ) || 7 ) ) ; return Math . ceil ( ( ( ( date - new Date ( date . getFullYear ( ) , 0 , 1 ) ) / 8.64e7 ) + 1 ) / 7 ) ; }
Get current week number.

@return {Number}
Get current week number .