date:add-duration

Returns the duration resulting from adding two durations together.

add-duration($duration1 as string, $duration2 as string) ➔ string

Arguments

 

$duration1

string

First input duration

 

$duration2

string

Second input duration

Result

string

Namespace

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

Links to specifications

EXSLT Dates and Times Module

See also:

date:add()

date:sum()