Table of Contents

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.


Table of Contents