03.05.2013 Views

FLASH® LITE™ 2.x - Adobe Help and Support

FLASH® LITE™ 2.x - Adobe Help and Support

FLASH® LITE™ 2.x - Adobe Help and Support

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Constructor summary<br />

Signature Description<br />

Date([yearOrTimevalue:Number],<br />

[month:Number], [date:Number],<br />

[hour:Number],<br />

[minute:Number],<br />

[second:Number],<br />

[millisecond:Number])<br />

Method summary<br />

Modifiers Signature Description<br />

304 ActionScript classes<br />

Constructs a new Date object that holds the specified date<br />

<strong>and</strong> time.<br />

getDate() : Number Returns the day of the month (an integer from 1 to<br />

31) of the specified Date object according to local<br />

time.<br />

getDay() : Number Returns the day of the week (0 for Sunday, 1 for<br />

Monday, <strong>and</strong> so on) of the specified Date object<br />

according to local time.<br />

getFullYear() :<br />

Number<br />

Returns the full year (a four-digit number, such as<br />

2000) of the specified Date object, according to<br />

local time.<br />

getHours() : Number Returns the hour (an integer from 0 to 23) of the<br />

specified Date object, according to local time.<br />

getLocaleLongDate()<br />

: String<br />

getLocaleShortDate()<br />

: String<br />

getLocaleTime() :<br />

String<br />

getMilliseconds() :<br />

Number<br />

getMinutes() :<br />

Number<br />

Returns a string representing the current date, in<br />

long form, formatted according to the currently<br />

defined locale.<br />

Returns a string representing the current date, in<br />

short form, formatted according to the currently<br />

defined locale.<br />

Returns a string representing the current time,<br />

formatted according to the currently defined<br />

locale.<br />

Returns the milliseconds (an integer from 0 to<br />

999) of the specified Date object, according to<br />

local time.<br />

Returns the minutes (an integer from 0 to 59) of<br />

the specified Date object, according to local time.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!