Getutcmonth (Date.getutcmonth Method); Getutcseconds (Date.getutcseconds Method) - MACROMEDIA FLASHLITE2 ACTIONSCRIPT-LANGUAGE Reference

Actionscript language reference
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
Need help?

Need help?

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

Questions and answers

This manual is also suitable for:

Flash lite 2

Table of Contents