Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

how to show day name in javascript using array

var days = ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"];
var dayName = days[new Date().getDay()];
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #show #day #javascript #array
ADD COMMENT
Topic
Name
4+5 =