Date.setTime()

Availability

Flash Player 5.

Usage

my_date.setTime(milliseconds)

Parameters

milliseconds 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.