Getutcmilliseconds (Date.getutcmilliseconds Method); Getutcminutes (Date.getutcminutes 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

Example
The following example creates a new Date object and uses
and
Date.getUTCHours()
. The value returned by
may differ from the value
Date.getHours()
Date.getUTCHours()
returned by
depending on the relationship between your local time zone
Date.getHours(),
and universal time.
var today_date:Date = new Date();
trace(today_date.getHours()); // display based on local timezone
trace(today_date.getUTCHours()); // display equals getHours() plus or minus
12
See also
getHours (Date.getHours method)
getUTCMilliseconds (Date.getUTCMilliseconds
method)
public getUTCMilliseconds() : Number
Returns the milliseconds (an integer from 0 to 999) of the specified Date object, according to
universal time.
Availability: ActionScript 1.0; Flash Lite 2.0
Returns
- An integer.
Number
Example
The following example creates a new Date object and uses
to return
getUTCMilliseconds()
the milliseconds value from the Date object.
var today_date:Date = new Date();
trace(today_date.getUTCMilliseconds());

getUTCMinutes (Date.getUTCMinutes method)

public getUTCMinutes() : Number
Returns the minutes (an integer from 0 to 59) of the specified Date object, according to
universal time.
Availability: ActionScript 1.0; Flash Lite 2.0
Date
341

Advertisement

Table of Contents
loading

Table of Contents