JavaScript – Date toLocaleDateString() Method
The Date toLocaleDateString() method returns the date (not the time) of a Date object as a string, using locale conventions.
The Date toLocaleDateString() method returns the date (not the time) of a Date object as a string, using locale conventions.
The Date toLocaleString() method returns a date and time as a string, using locale settings.
The Date toLocaleTimeString() method returns the time portion of a Date object as a string, using locale conventions.
The Date toTimeString() method returns the time portion of a Date object as a string.
The Date toUTCString() method returns a Date object as a string, according to UTC.
The Date.UTC() method returns the number of milliseconds between a specified date and midnight of January 1, 1970, according to UTC.
The Date valueOf() method returns the primitive value of a Date object as the number of millisecond since midnight January 1, 1970 UTC.