Answers for "how to show day name in javascript using array"

0

how to show day name in javascript using array

var days = ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"];
var dayName = days[new Date().getDay()];
Posted by: Guest on May-07-2021

Code answers related to "how to show day name in javascript using array"

Code answers related to "Javascript"

Browse Popular Code Answers by Language