Date > Date.setHours

Date.setHours

Syntax

myDate.setHours(hour);

Arguments

hour An integer from 0 (midnight) to 23 (11 p.m.).

Description

Method; sets the hours for the specified Date object according to local time. Local time is determined by the operating system on which the Flash Player is running.

Player

Flash 5 or later.