Quartz Composer JavaScript Reference © Cybero Designs  

Date

Type Object
Format
new Date()
new Date(milliseconds)
new Date(dateString)
new Date(year, month, date [, hour, minute, second, millisecond ])
Commentary
Creates Date instances which let you work with dates and times. If you supply no arguments, the constructor creates a Date object for today's date and time according to local time. the system (OS) does not affect the clock.
Sample code - QC 2 JavaScript
outputs [0] = (new Date ()). toString ();
Sample code - QC 3 JavaScript
function (__string outputNumber) main (__number inputNumber[1])
{ var result = new Object();
result.outputNumber = (new Date()).toString();
return result; }


Return to the Start Page