I want to get day name with date which is in string format in nodejs can anyone help how this can be done?
let gameDate = bidDatarray[0].gameDate;// date : 27/12/2019
console.log( gameDate.getDay());
This gives error that gameDate.getDay() is not a function