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

Saxon availability

Requires Saxon-PE or Saxon-EE. Available for Java and C/C++ only (not .NET).

See also:

date:add()

date:sum()