JavaScript: The Definitive Guide

24.61. Date.toGMTString( ): convert a Date to a universal time string

ECMAScript v1; deprecated by ECMAScript v3

24.61.1. Synopsis

date.toGMTString( )

24.61.1.1. Returns

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.

24.61.2. Description

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.

24.61.3. See Also

Date.toUTCString( )

Категории