Team LiB   Previous Section   Next Section
Date.toLocaleDateString( ) return the date portion of a Date as a locally formatted string

Availability

JavaScript 1.5; JScript 5.5; ECMAScript v3

Synopsis

date.toLocaleDateString(  )

Returns

An implementation-dependent human-readable string representation of the date portion of date, expressed in the local time zone and formatted according to local conventions.

See Also

Date.toDateString( ), Date.toLocaleString( ), Date.toLocaleTimeString( ), Date.toString( ), Date.toTimeString( )

    Team LiB   Previous Section   Next Section