contents   index   previous   next



Date toGMTString()

syntax:

date.toGMTString()

return:

string - string representation of the GMT date and time.

 

description:

This method converts a Date object to a string, based on Greenwich Mean Time.

 

example:

var d = new Date();

Screen.writeln(d.toGMTString());

 

// The fragment above would produce something like:

// Mon May 1 15:48:38 2000 GMT

 


Date toLocaleDateString()