Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

js day monday tuesday wednesday

const WEEK_DAYS = ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'];

const date = new Date();
const literalDayOfWeek = WEEK_DAYS[date.getDay()];
 
PREVIOUS NEXT
Tagged: #js #day #monday #tuesday #wednesday
ADD COMMENT
Topic
Name
1+9 =