MACROMEDIA FLEX-FLEX ACTIONSCRIPT LANGUAGE Reference page 266

Actionscript language reference
Table of Contents

Advertisement

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());
Date.getMinutes()
Availability
Flash Player 5.
Usage
my_date.getMinutes() : Number
Parameters
None.
Returns
An integer.
Description
Method; 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.
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());
Date.getMonth()
Availability
Flash Player 5.
Usage
my_date.getMonth() : Number
Parameters
None.
Returns
An integer.
266
Chapter 6: ActionScript Core Classes
method to return the milliseconds value from that object:
method to return the minutes value from that object:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the FLEX-FLEX ACTIONSCRIPT LANGUAGE and is the answer not in the manual?

This manual is also suitable for:

Flex

Table of Contents