Date.getmilliseconds() - MACROMEDIA FLASH MX 2004-ACTIONSCRIPT LANGUAGE Reference

Actionscript language reference
Table of Contents

Advertisement

Date.getMilliseconds()

Availability
Flash Player 5.
Usage
my_date.getMilliseconds() : Number
Parameters
None.
Returns
An integer.
Description
Method; returns the milliseconds (an integer from 0 to 999) 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
getMilliseconds()
var my_date:Date = new Date();
trace(my_date.getMilliseconds());
method to return the milliseconds value from that object:
Date.getMilliseconds()
245

Advertisement

Table of Contents
loading
Need help?

Need help?

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

Questions and answers

Subscribe to Our Youtube Channel

This manual is also suitable for:

Flash mx

Table of Contents