Javascript Reference
Categories: Date

javascript Date toLocaleString( )

@March 15, 2008, 1:22 a.m.
toLocaleString( )Firefox/Netscape/NN 2 IE 3 ECMA 1  

  

Returns a string version of the local time zone value of both the date and time from a Date object instance. The format may be localized for a particular country or an operating system's convention.

 
Parameters

None.

 
Returned Value

String in a variety of possible formats. Examples of U.S. versions of browsers include the following.

 
PlatformString value
Internet Explorer 6/Win32 Tuesday, April 01, 2003 7:30:00 AM
Internet Explorer 5.1/Mac Tuesday, 01 April, 2003 07:30:00 AM
Navigator 6/Win32 Tuesday, April 01, 2003 07:30:00
Navigator 6/Mac Tuesday April 01 07:30:00 2003

Powered by Linode.