next up previous contents
Next: getDay Up: Methods Previous: Methods   Contents


getDate

Description

Gets the day of the month (an integer from 1 to 31) of the specified Date object according to local time. Local time is determined by the operating system on which the Ffish Script is running.


Syntax

date1.getDate()


Parameters

None


Returns

An integer.


Example

d = new Date(2002, 6, 15);
trace(d.getDate());
//return 15




Copyright ©2000-2010 Shanghai TopCMM Software Technologies. All Rights Reserved.