JavaScript toDateString()

The toDateString() method converts a date to a date string: