toDateString < Date < JavaScript
The toDateString() method of the Date object returns a string representing the date portion of the date interpreted in the local timezone.
const event = new Date(1993, 6, 28, 14, 39, 7);
const dateString = event.toDateString();
console.log(dateString);
// "Wed Jul 28 1993"