javascript Date toString( )

toString( )NN 2 IE 4 ECMA 1  

  

This is a method used mostly by the browser itself to obtain a string version of an instance of a Date object when needed for display in dialog boxes or on-screen rendering.

 
Parameters

None.

 
Returned Value

String in a variety of possible formats. Here are examples for U.S. versions of browsers.

 
PlatformString Value
Internet Explorer 6/Win32 Tue Apr 1 07:30:00 PST 2003
Internet Explorer 5.1/Mac Tue Apr 1 07:30:00 PST 2003
Navigator 6/Win32 Tue Apr 01 07:30:00 GMT-0800 (Pacific Standard Time) 2003
Navigator 6/Mac Tue Apr 01 2003 07:30:00 GMT-0800

494,Nickname,Homepage or email,Comments here,Add comment