Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

momentjs get calendar week

  $(document).ready(function(){
    var weeknumber = moment("12-25-1995", "MM-DD-YYYY").week();
    console.log(weeknumber);
  });
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #momentjs #calendar #week
ADD COMMENT
Topic
Name
6+7 =