next up previous contents
Next: setMilliseconds Up: Methods Previous: setFullYear   Contents


setHours

Description

Sets the hours for the specified Date object according to local time, and returns the new time in milliseconds. Local time is determined by the operating system on which the Ffish Script is running.


Syntax

date1.setHours(hour)


Parameters

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


Returns

An integer




Copyright ©2000-2010 Shanghai TopCMM Software Technologies. All Rights Reserved.