In my opinion, this is the best way to get the day name
let date = new Date(); let today = date.toLocaleDateString('en-us', {'weekday' : 'long'}) console.log('Today : ', today)