next up previous contents
Next: toLocaleString Up: Methods Previous: parse   Contents


toGMTString

Description

Converts the date to a string using GMT convention.


Syntax

Date1.toGMTString()


Parameters

None


Returns

A string object


Example

d = new Date(Date.UTC(1989, 11, 28, 10, 30, 5));
trace(d.toGMTString());
//output: Thu, 28 Dec 1989 10:30:05 GMT




Copyright ©2000-2010 Shanghai TopCMM Software Technologies. All Rights Reserved.