Answers for "javascript date get day of week abbreviation"

0

javascript date get day of week abbreviation

var days = ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'];
var d = new Date(dateString);
var dayName = days[d.getDay()];
Posted by: Guest on September-05-2020

Code answers related to "Javascript"

Browse Popular Code Answers by Language