fn:minutes-from-time

Returns the minutes component of an xs:time.

Signature

fn:minutes-from-time($arg as xs:time?) as xs:integer?

Properties

This function is deterministic, context-independent, and focus-independent.

Rules

If $arg is the empty sequence, the function returns the empty sequence.

Otherwise, the function returns an xs:integer value between 0 and 59, both inclusive, representing the value of the minutes component in the local value of $arg.

Examples

The expression fn:minutes-from-time(xs:time("13:00:00Z")) returns 0.