ToDuration
Returns a Duration
value compiled from the input values.
Returns Unknown
if one of the parameter values is unknown or outside the common valid boundaries.
Syntax
Parameters
Name
Type
Required
Description
text
text
βοΈ
text containing duration in dd.HH:mm:ss:fff form
ticks
numeric
βοΈ
the number of ticks (tenthousandth of a millisecond)
number
numeric
βοΈ
a numeric value to combine with the date_unit
date_unit
keyword
βοΈ
one of the date_units: day, hour, minute, second, millisecond
day
numeric
βοΈ
the day unit (number of days)
hour
numeric
βοΈ
the hour unit (0 - 23)
minute
numeric
βοΈ
the minute unit (0 - 59)
second
numeric
βοΈ
the second unit (0 - 59)
millisecond
numeric
βοΈ
the millisecond unit (0 - 999)
Last updated
Was this helpful?