toGMTString Method

Returns a date converted to a string using Greenwich Mean Time (GMT).

function toGMTString() : String

Remarks

The toGMTString method is obsolete, and is provided for backwards compatibility only. It is recommended that you use the toUTCString method instead.

The toGMTString method returns a String object that contains the date formatted using GMT convention.

Requirements

Version 1

Applies To:

Date Object

See Also

Reference

toUTCString Method