date:duration

Returns a duration string representing the number of seconds specified by the argument string. If no argument is given, then the result of calling date:seconds without any arguments is used as a default argument.

duration($seconds as number?) ➔ string

Arguments

 

$seconds

number?

The input number

Result

string

Namespace

http://exslt.org/dates-and-times

Links to specifications

EXSLT Dates and Times Module