ActionScript for Flash MX: The Definitive Guide, Second Edition

ActionScript for Flash MX: The Definitive Guide, 2nd EditionBy Colin Moock
Chapter 18.  ActionScript Language Reference
Date.setUTCFullYear( ) Method Flash 5

assign the century and year in four-digit format (UTC time)

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.

    Категории