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

Actionscript language reference
Table of Contents

Advertisement

Date.getUTCFullYear()

Availability
Flash Player 5.
Usage
my_date.getUTCFullYear() : Number
Parameters
None.
Returns
An integer.
Description
Method; returns the four-digit year of the specified Date object, according to universal time.
Example
The following example creates a new Date object and uses
Date.getFullYear(). The value returned by
returned by
Date.getFullYear()
relationship between your local time zone and universal time.
var today_date:Date = new Date();
trace(today_date.getFullYear()); // display based on local timezone
trace(today_date.getUTCFullYear()); // displays getYear() plus or minus 1
Date.getUTCFullYear()
if today's date is December 31 or January 1
Date.getUTCFullYear()
may differ from the value
depending on the
,
Date.getUTCFullYear()
and
253

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