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);
 
PREVIOUS NEXT
Tagged: #day #week #javscript
ADD COMMENT
Topic
Name
2+5 =