NetBeansв„ў IDE Field Guide: Developing Desktop, Web, Enterprise, and Mobile Applications (2nd Edition)

seconds-from-time /dateTime

This entry covers two related functions: seconds-from-dateTime() and seconds-from-time() .

These functions extract the seconds component from an xs:time or xs:dateTime value, as a decimal value usually in the range 0 to 59.999..., unless leap seconds appear.

Argument

Data Type

Meaning

input

xs:dateTime? or xs:time?

The value from which the seconds component is to be extracted. The data type of the supplied argument must correspond to the data type implied by the function name

Result

xs:decimal

The seconds component of the time, including fractional seconds

Категории