www.icetips.com  Icetips Utilities Documentation 11/30/2010    

Utility Class: GetHour

Previous  Top  Next  


Prototype:  (Long pClock),Long

 

pClockThe time value.

 

ReturnsThe hour part of the time value in pClock.

 

This returns just the hour part of the time value passed in pClock.  This is handy to have when you need to just know the hour part.

 

Example:

 

T    Long

H    Byte

ITU  ITUtilityClass

Code

T = ITU.GetClockFromString('11:10:10')

H = ITU.GetHour(T)  ! returns 11

 

See also:

 

GetMinute

GetClockFromString

 

 

 



Direct link to this page: http://www.icetips.com/manuals/utilities/gethour_utility.htm