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.valueOf( ) Method Flash 5

the number of milliseconds between January 1, 1970 and the time of the Date object

date.valueOf()

Returns

An integer expressing the number of milliseconds between the time of the Date object and midnight, January 1, 1970 positive if after January 1, 1970; negative if before.

Description

In practice, Date.valueOf( ) is equivalent to Date.getTime( ).

See Also

Date.toString( )

    Категории