## xs:duration Server Expression

A server expression that returns a value of (or implicitly castable to) the xs:duration server type. For all server types, see the Server Expression Type Hierarchy.

### Parameter Of

Server Return Type | Server Function | Java Doc | Server Doc
--- | --- | --- | ---
xs:integer? | fn:days-from-duration(xs:duration arg?) | java | server
xs:integer? | fn:hours-from-duration(xs:duration arg?) | java | server
xs:integer? | fn:minutes-from-duration(xs:duration arg?) | java | server
xs:integer? | fn:months-from-duration(xs:duration arg?) | java | server
xs:decimal? | fn:seconds-from-duration(xs:duration arg?) | java | server
xs:integer? | fn:years-from-duration(xs:duration arg?) | java | server