Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

javascript get day

var d = new Date();
var n = d.toLocaleString("en-US", { "weekday": "long" }); // Monday
n += "
" + d.toLocaleString("en-US", { "weekday": "short" }); // Mon
n += "
" + d.toLocaleString("en-US", { "weekday": "narrow" }); // M
 
PREVIOUS NEXT
Tagged: #javascript #day
ADD COMMENT
Topic
Name
5+7 =