Javascript Reference
Categories: Date

javascript Date toUTCString( )

@March 15, 2008, 1:22 a.m.
toUTCString( )Firefox/Netscape/NN 4 IE 4 ECMA 1  

  

Returns a string version of the UTC value of a Date object instance in a standardized format. This method does not alter the original Date object. For use in newer browsers, the toUTCString( ) method is recommended in favor of toGMTString( ).

 
Parameters

None.

 
Returned Value

String in the following format: dayAbbrev dd mmm yyyy hh:mm:ss GMT. For example:

Mon 05 Aug 2002 02:33:22 GMT

Powered by Linode.