There was an error while loading. Please reload this page.
Takes a date object and outputs a date string based on the user's locale
console.log(toLocalDateString(new Date())); // Example output: "January 21, 2020"
Date