This entry covers two related functions: minutes-from-dateTime() and minutes-from-time() .
These functions extract the minutes component from an xs:time or xs:dateTime value, as an integer in the range 0 to 59. The value that is returned is in the original (localized) timezone associated with the time or dateTime value.
Argument | Data Type | Meaning |
---|---|---|
input | xs:dateTime? or xs:time? | The value from which the minutes 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:integer | The minutes component of the time |