{ Frameless }

seconds-from-dateTime($arg)

The seconds-from-dateTime($arg) function returns the seconds of the, by the $arg specified xs:dateTime.

Arguments

ArgumentType
$argxs:dateTime
Return valuexs:decimal

Examples

seconds-from-dateTime(xs:dateTime("2013-11-01T22:41:21.5"))21.5