DO NOT EDIT THE CONTENT OF THIS PAGE DIRECTLY, UNLESS YOU KNOW WHAT YOU'RE DOING. THE STRUCTURE OF THE CONTENT IS VITAL IN BEING ABLE TO EXTRACT CHANGES FROM THE PAGE AND MERGE THEM BACK INTO SERVOY SOURCE
Constructor Summery
#Date()
Use the current date and time to create an instance of the object date.
#UTC(year, month, [date], [hrs], [min], [sec], [ms])
Takes comma-delimited date parameters and returns the number of milliseconds between January 1, 1970, 00:00:00, universal time and the specified time.
Takes comma-delimited date parameters and returns the number of milliseconds between January 1, 1970, 00:00:00, universal time and the specified time.
Parameters {Number} year – A year after 1900.
{Number} month – A number between 0 and 11.
{Number} [date] – A number between 1 and 31.
{Number} [hrs] – A number between 0 and 23.
{Number} [min] – A number between 0 and 59.
{Number} [sec] – A number between 0 and 59.
{Number} [ms] – A number between 0 and 999.
// The number of milliseconds in the first minute after 1970 January 1st.
application.output(Date.UTC(1970, 00, 01, 00, 01, 00, 00)); // prints: 60000.0