Table of Contents

Date.setHours( ) Method Flash 5

assign the hour of the day
date.setHours(hour)

Arguments

hour

An integer from 0 (midnight) to 23 (11 P.M.), specifying the new hour of the day for date.

Returns

An integer representing the number of milliseconds between the new date and midnight, January 1, 1970.

See Also

Date.getHours( )


Table of Contents