JScript  

toDateString Method

Returns a date as a string value.

objDate.toDateString( )

The required objDate reference is a Date object.

Remarks

The toDateString method returns a string value containing the date, in the current time zone, in a convenient, easily read format.

Requirements

Version 5.5

See Also

toTimeString Method | toLocaleDateString Method

Applies To: Date Object