etstr#
Purpose#
Formats an elapsed time measured in hundredths of a second to a string.
Format#
Examples#
// Set start time
t_start = { 2012, 1, 2, 0 };
// Set end time
t_end = { 2012, 1, 14, 815642 };
// Find elapsed time in hundredths of secs
tothsecs = ethsec(t_start, t_end);
// Convert elapsed time to string format
str = etstr(tothsecs);
print "tothsecs = " tothsecs;
print "str = " str;
Output:
tothsecs = 104495642.000
str = 12 days 2 hours 15 minutes 56.42 seconds
Source#
time.src
See also
Functions ethsec()