Date.setHours( ) Method

ActionScript for Flash MX: The Definitive Guide, 2nd Edition
By 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( )



    ActionScript for Flash MX. The Definitive Guide
    ActionScript for Flash MX: The Definitive Guide, Second Edition
    ISBN: 059600396X
    EAN: 2147483647
    Year: 2002
    Pages: 780
    Authors: Colin Moock

    flylib.com © 2008-2017.
    If you may any questions please contact us: flylib@qtcs.net