Description
Sets the day of the month for the specified Date object, according to local time, and returns the new time in milliseconds. Local time is determined by the operating system on which the Ffish Script is running.
Syntax
date1.setDate(date)
Parameters
Returns
An integer.
Example
d = new Date(1997, 6, 15); trace(d.setDate(32)); //output: 870364800000 trace(d.toLocaleString()); //output: Fri Aug 01 00:00:00 GMT+800 (中国标准时间) 1997