Answers for "get day first 3 letters name in js"

0

get day first 3 letters name in js

var days = ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'];
var d = new Date(dateString);
var dayName = days[d.getDay()];
Posted by: Guest on July-12-2021

Code answers related to "get day first 3 letters name in js"

Code answers related to "Javascript"

Browse Popular Code Answers by Language