Type Method
Format Date object. ToLocaleDateString ()
Commentary
Returns the "date" portion of the Date as a string, using the current locale's conventions.
Sample code - QC 2 JavaScript
dateObj = new Date ();
str = dateObj.toLocaleDateString ();
outputs [0] = str;
Sample code - QC 3 JavaScript
function (__string outputNumber) main ()
{var result = new Object();
dateObj = new Date();
str = dateObj.toLocaleDateString();
result.outputNumber = str;
return result;
}