Getutcseconds (Date.getutcseconds Method); Getutcyear (Date.getutcyear Method) - MACROMEDIA FLASH 8-ACTIONSCRIPT 2.0 LANGUAGE Reference

Actionscript 2.0 language reference
Table of Contents

Advertisement

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 Player 5
Returns
- An integer.
Number
Example
The following example creates a new Date object and uses
seconds value from the Date object:
var today_date:Date = new Date();
trace(today_date.getUTCSeconds());

getUTCYear (Date.getUTCYear method)

public getUTCYear() : Number
Returns the year of this
minus 1900. For example, the year 2000 is represented as 100.
Availability: ActionScript 1.0; Flash Player 8
Date.getUTCMonth()
if today's date is the first or last day of a month
according to universal time (UTC). The year is the full year
Date
Date.getUTCMonth()
can differ from the value
depending on
,
to return the
getUTCSeconds()
and
Date
491

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

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

Subscribe to Our Youtube Channel

This manual is also suitable for:

Flash 8

Table of Contents

Save PDF