Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

moment get weekday name

var m = moment().day(); // gives 4 for thursday, then you can do a switch
Source by momentjscom.readthedocs.io #
 
PREVIOUS NEXT
Tagged: #moment #weekday
ADD COMMENT
Topic
Name
4+7 =