Language Reference toGMTString Method


Description

Converts the date to a string using the GMT convention.

Syntax

stringVar = dateObj.toGMTString( )

Return Value

A string object that contains the date formatted using GMT convention.

Remarks
The format of the return value will be as follows: "05 Jan 1996 00:00:00 GMT".