Date.valueOf( ) Method

ActionScript for Flash MX: The Definitive Guide, 2nd Edition
By 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( )



    ActionScript for Flash MX. The Definitive Guide
    ActionScript for Flash MX: The Definitive Guide, Second Edition
    ISBN: 059600396X
    EAN: 2147483647
    Year: 2002
    Pages: 780
    Authors: Colin Moock

    flylib.com © 2008-2017.
    If you may any questions please contact us: flylib@qtcs.net