ActionScript for Flash MX: The Definitive Guide, 2nd Edition By Colin Moock
Chapter 18. ActionScript Language Reference
Date.getHours( ) Method
Flash 5
the hour of the day
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.