get-hours-from-dateTime

Returns the hours part of a given date and time.

Syntax

    get-hours-from-dateTime(strDateTime)

Parameters

strDateTime is a string that represents the date and time for which the hours is returned, and is specified in the format yyyy-mm-ddThh:mm:ssZ. For more information about date and time parameters, see Date and time parameters.

Returns

A number that holds the hours part of the given date and time.