|
Previous Top Next |
Prototype: | (Long pTime,<String pDelimiter>,<String pTimeFormat>),String |
pTime | Standard Clarion Time value, such as Clock() |
pDelimiter | The delimiter character(s) to use to separate the standard formatted time and the 1/100 fractions. The default is semicolon, ':' |
pTimeFormat | The time format to use, such as '@t4' The default is @t4. |
Returns | Returns a string that contains both the time and the 1/100 second fraction, such as "13:58:17:45" |
This method is useful in profiling and debugging code.
Example:
S Long
X Long
ITU ITUtilityClass
Code
S = Clock()
!! Some code here to profile
Loop 1000000 times
X+= 1
End
Message('It took ' & ITU.GetFormatted100sec(Clock() - s) ' to finish the calculation')
See also: