Javascript Reference
Categories: Date

javascript Date toString( )

@March 15, 2008, 1:22 a.m.
toString( )Firefox/Netscape/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

Powered by Linode.