Sun Chili!Soft ASP Sun Chili!Soft
ASP Sun Microsystems

 

JScript Date Object toGMTString Method

Converts the date to a string using GMT convention.

Syntax: JScript Date Object toGMTString Method

objDate.toGMTString()

Arguments: JScript Date Object toGMTString Method

objDate

The name of a Date object. Required.

Remarks: JScript Date Object toGMTString Method

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. The format of the return value is as follows: "05 Jan 1996 00:00:00 GMT."

Copyright 2002 Sun Microsystems, Inc. All rights reserved. Legal Notice.