Quartz Composer JavaScript Reference © Cybero Designs  

toLocaleString

Type Method
Format Date object. ToLocaleString ()
Commentary
Converts a date to a string, using the current locale's conventions. Overrides the Object.toLocaleString method.
Sample code - QC 2 JavaScript
dateObj = new Date ();
str = dateObj.toLocaleString ();
outputs [0] = str;
Sample code - QC 3 JavaScript
function (__string outputNumber) main ()
{
var result = new Object();
dateObj = new Date();
str = dateObj.toLocaleString();
result.outputNumber = str;
return result;
}

Return to the Start Page