Getutcmonth (Date.getutcmonth Method); Getutcseconds (Date.getutcseconds 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 creates a new Date object and uses
minutes value from the Date object:
var today_date:Date = new Date();
trace(today_date.getUTCMinutes());

getUTCMonth (Date.getUTCMonth method)

public getUTCMonth() : Number
Returns the month (0 [January] to 11 [December]) 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
. The value returned by
Date.getMonth()
returned by
Date.getMonth()
the relationship between your local time zone and universal time.
var today_date:Date = new Date();
trace(today_date.getMonth()); // output based on local timezone
trace(today_date.getUTCMonth()); // output equals getMonth() plus or minus
1
See also
getMonth (Date.getMonth method)

getUTCSeconds (Date.getUTCSeconds method)

public getUTCSeconds() : Number
Returns the seconds (an integer from 0 to 59) of the specified Date object, according to
universal time.
Availability: ActionScript 1.0; Flash Lite 2.0
342
ActionScript classes
Date.getUTCMonth()
if today's date is the first or last day of a month
to return the
getUTCMinutes()
Date.getUTCMonth()
can differ from the value
depending on
,
and

Advertisement

Table of Contents
loading

Table of Contents