Created
          February 17, 2020 04:15 
        
      - 
      
 - 
        
Save rolldone/e0bc1f7c974d0817488f0d14910c10ea to your computer and use it in GitHub Desktop.  
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | Get a week from date | |
| console.log(moment().isoWeekday()); // returns 1-7 where 1 is Monday and 7 is Sunday | 
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment