How to Convert Date to Text in JavaScript?

let currentDateObj = new Date();
let currentDate = currentDateObj.toString();

As seen above the Date object has the .toString method which converts date to string.