Getminutes (Date.getminutes Method); Getmonth (Date.getmonth Method) - MACROMEDIA FLASH 8-FLASH LITE 2.X ACTIONSCRIPT LANGUAGE Reference

Flash lite 2.x actionscript language reference
Hide thumbs Also See for FLASH 8-FLASH LITE 2.X ACTIONSCRIPT LANGUAGE:
Table of Contents

Advertisement

Returns
- An integer.
Number
Example
The following example uses the constructor to create a Date object based on the current time
and uses the
getMilliseconds()
var my_date:Date = new Date();
trace(my_date.getMilliseconds());

getMinutes (Date.getMinutes method)

public getMinutes() : Number
Returns the minutes (an integer from 0 to 59) of the specified Date object, according to local
time. Local time is determined by the operating system on which Flash Player is running.
Availability: ActionScript 1.0; Flash Lite 2.0
Returns
- An integer.
Number
Example
The following example uses the constructor to create a Date object based on the current time,
and uses the
getMinutes()
var my_date:Date = new Date();
trace(my_date.getMinutes());

getMonth (Date.getMonth method)

public getMonth() : Number
Returns the month (0 for January, 1 for February, and so on) of the specified Date object,
according to local time. Local time is determined by the operating system on which Flash
Player is running.
Availability: ActionScript 1.0; Flash Lite 2.0
Returns
- An integer.
Number
336
ActionScript classes
method to return the milliseconds value from that object:
method to return the minutes value from that object:

Advertisement

Table of Contents
loading

Table of Contents