The toDateString()
method returns the date portion of a Date
object in English in the following format separated by spaces:
- First three letters of the week day name
- First three letters of the month name
- Two digit day of the month, padded on the left a zero if necessary
- Four digit year (at least), padded on the left with zeros if necessary
E.g. "Thu Jan 01 1970".