get-hours-from-time

Returns the hours part of a given time.

Syntax

    get-hours-from-time(strTime)

Parameters

strTime is a string that represents the time and is specified in the format hh:mm:ss . For more information about date and time parameters, see Date and time parameters .

Returns

A number that holds the hour part of the given time.