fn:seconds-from-dateTime

Extracts the seconds component of a dateTime value.

seconds-from-dateTime($arg as xs:dateTime?) ➔ xs:decimal?

Arguments

 

$arg

xs:dateTime?

The input dateTime value

Result

xs:decimal?

Namespace

http://www.w3.org/2005/xpath-functions

Links to W3C specifications

XPath 3.1 Functions and Operators