DekGenius.com
Team LiB   Previous Section   Next Section
Date.toString( ) convert a Date to a string

Availability

JavaScript 1.0; JScript 1.0; ECMAScript v1 Overrides Object.toString( )

Synopsis

date.toString(  ) 

Returns

A human-readable string representation of date, expressed in the local time zone.

Description

toString( ) returns a human-readable, implementation-dependent string representation of date. Unlike toUTCString( ), toString( ) expresses the date in the local time zone. Unlike toLocaleString( ), toString( ) may not represent the date and time using locale-specific formatting.

See Also

Date.parse( ), Date.toDateString( ), Date.toLocaleString( ), Date.toTimeString( ), Date.toUTCString( )

    Team LiB   Previous Section   Next Section