ActionScript for Flash MX: The Definitive Guide, Second Edition

ActionScript for Flash MX: The Definitive Guide, 2nd EditionBy Colin Moock
Chapter 18.  ActionScript Language Reference
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( )

    Категории