Interval# - script and chart function
Interval#() evaluates a text expression as a time interval in the format set in the operating system, by default, or in the format specified in the second argument, if supplied.
Syntax:
Interval#(text[, format])
Return data type: dual
Arguments:
Argument | Description |
---|---|
text |
The text string to be evaluated. |
format | String describing how the resulting interval string is to be formatted. If omitted, the short date format, time format, and decimal separator set in the operating system are used. |
The interval# function is similar to the time# function, but works with intervals of any value, whereas time# values must be between zero and 24 hours.