XTime.getHours

Returns the hour for the specified time according to local time.

Method of XTime

Syntax

getHours()

Parameters

None

Description

The value returned by getHours is an integer between 0 and 23.

Examples

See also

XTime.setHours

Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.