Team LiB   Previous Section   Next Section
Date.toGMTString( ) convert a Date to a universal time string


JavaScript 1.0; JScript 1.0; ECMAScript v1; deprecated by ECMAScript v3


date.toGMTString(  ) 


A string representation of the date and time specified by the Date object date. The date is converted from the local time zone to the GMT time zone before being converted to a string.


toGMTString( ) is deprecated in favor of the identical method Date.toUTCString( ).

As of ECMAScript v3, conforming implementations of JavaScript are no longer required to provide this method; use toUTCString( ) instead.

See Also

Date.toUTCString( )

    Team LiB   Previous Section   Next Section