seconds-from-dateTime

The seconds portion of a date/time

Description

The fn:seconds-from-dateTime function returns the seconds portion of an xs:dateTime value, as a decimal number.

Parameters

Description

arg:dateTime()

Examples

XPath

Results

seconds-from-dateTime(xs:dateTime(‘2006-08-15T10:30:23.5’))

23.5

See Also