JavaScript Objects The Date Object-toDateString() - Javascript Objects

What is JavaScript - Date toDateString() Method?

Javascript date toDateString() method returns the date portion of a Date object in human readable form.

Syntax

Its syntax is as follows -


Return Value

Returns the date portion of a Date object in human readable form.

Example

Try the following example.


Output

Formated Date : Wed Jul 28 1993


All rights reserved © 2018 Wisdom IT Services India Pvt. Ltd DMCA.com Protection Status

Javascript Objects Topics