D-E > Date.setTime

 

Date.setTime

Availability

Flash Player 5.

Usage

myDate.setTime(millisecond)

Parameters

millisecond An integer value where 0 is 0:00 GMT 1970 Jan 1.

Returns

An integer.

Description

Method; sets the date for the specified Date object in milliseconds since midnight on January 1, 1970, and returns the new time in milliseconds.