Name
Date.getHours( ) Method — the hour of the day
Availability
Flash 5
Synopsis
date.getHours( )
Returns
An integer from 0
(midnight) to 23 (11 p.m.) representing the hour of the day for
date
. A.M. and P.M. notation are not
supported but can be constructed manually as shown in the
Date class examples.
Get ActionScript: The Definitive Guide now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.