get day first 3 letters name in js

Solutions on MaxInterview for get day first 3 letters name in js by the best coders in the world

showing results for - "get day first 3 letters name in js"
Sofia
21 Oct 2020
1var days = ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'];
2var d = new Date(dateString);
3var dayName = days[d.getDay()];
similar questions
queries leading to this page
get day first 3 letters name in js