Name

Date.setUTCFullYear( ) Method — assign the century and year infour-digit format (UTC time)

Availability

Flash 5

Synopsis

date.setUTCFullYear(year)

Arguments

year

A four-digit integer representing the new year for date in UTC time, for example 1999 or 2000.

Returns

An integer representing the number of milliseconds between the new date and midnight, January 1, 1970 in UTC time.

Get ActionScript: The Definitive Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.