Quartz Composer JavaScript Reference © Cybero Designs  

toGMTString

Type Method
Format Date object. ToGMTString ()
Commentary
Converts a date to a string, using the Internet GMT conventions. [Use toUTCString instead.]
Sample code - QC 2 JavaScript
dateObj = new Date ();
str = dateObj.toGMTString ();
outputs [0] = str;
Sample code - QC 3 JavaScript
function (__string outputNumber) main ()
{var result = new Object();
dateObj = new Date();
str = dateObj.toGMTString();
result.outputNumber = str;
return result;
}

Return to the Start Page