Date string to date object, then .toLocaleDateString by greatCar October 10, 2018 JavaScript let d = new Date("2019") alert (d.toLocaleDateString());