|
Previous Top Next |
Prototype: | (String pClock),Long |
pClock | String formatted as HH:MM:SS |
Returns | Time 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: