Partager via


toDateString Method (Windows Scripting - JScript)

 

Returns a date as a string value.

Syntax

objDate.toDateString( )

Remarks

The required objDate reference is a Date object.

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

Applies To: Date Object (Windows Scripting - JScript)

See Also

toTimeString Method (Windows Scripting - JScript)
toLocaleDateString Method (Windows Scripting - JScript)