Description
The fn:seconds-from-time function returns the seconds portion of an xs:time value, as a decimal number.
This description is © Copyright 2007, Priscilla Walmsley. It is excerpted from the book XQuery by Priscilla Walmsley, O'Reilly, 2007. For a complete explanation of this function, please refer to Appendix A of the book. Arguments and Return TypeName | Type |
$arg |
xs:time? |
return value |
xs:decimal? |
ExamplesXPath Example | Results |
---|
seconds-from-time(xs:time('10:30:23.5')) |
23.5 |
See AlsoHistory |
Recommended Reading:
|