JavaScript toDateString() Method
JavaScript toDateString() Method
The toDateString() method is used to return the date part of a date object as a string. It will skip the time part of the date object.
Syntax:-
Its syntax is:- Date.toDateString()
Return:-
Its return is:- string containing date