Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

day of week javscript

const weekday = ["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"];

const d = new Date();
let day = weekday[d.getDay()];
alert(day);
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #day #week #javscript
ADD COMMENT
Topic
Name
9+5 =