JavaScript toString()
The toString() method converts a date to a string: