Hour                                                                                                          Function

 

HOUR(theTime as Time)

 

Description

Returns an integer with the hour value from a time.

 

Example

Dim theTime as Time

Dim result as Integer

theTime=TimeVal(13,24,15)

result=Hour(theTime) 'will calculate result=13