Table of Contents

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( )


Table of Contents