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

Utility Class: GetClockFromString

Previous  Top  Next  


Prototype:  (String pClock),Long

 

pClockString formatted as HH:MM:SS        

 

ReturnsTime value in 1/100 seconds.

 

This function takes a string formatted as HH:MM:SS and returns the time value from it, i.e. hundredths of seconds elapsed from midnight.  See the Clock() function in Clarion.

 

Example:

 

S    String(10)

C    Long

ITU  ITUtilityClass

Code

S = '13:54:10'

C = ITU.GetClockFromString(S)

 

C would now be (13*60*60*100) + (54*60*100) + (10*100) or 5,005,000

 

See also:

GetClockValue

 

 

 



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