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?