etread(string,format)

Reads elapsed time from the input string according to the specified format, and outputs a real number of elapsed days. The elapsed time can be specified in any combination of hours, minutes, seconds, milliseconds, and fractions, but cannot include days, months, or years. The format is as described in dtread(string[,format]) with one addition: the symbol f indicates fractions of hours or fractions of minutes, whichever was immediately preceding; f means there is exactly one digit, ff means there are exactly two digits, and fff means there are exactly three digits. For example,
$etread('18:00','hh:mm') = .75
$etread('11:45','hh:mm') = .49
$etread('11.75','h.ff') =.49
Provide Feedback
Have questions or feedback about this documentation? Please submit your feedback here.