METHOD:  Date::toGMTString

object.toGMTString( )

This method converts a local date to Greenwich Mean Time.

The following code uses the toGMTString method to convert the date set in the myDate object to Greenwich Mean Time and returns this date as a string.

myDate = new Date()

Fri, 29 Oct 1999 16:28:58 UTC

Copyright 1999-2001 by Infinite Software Solutions, Inc. All rights reserved.
Trademark Information