MarkLogic 12 EA 1 Product Documentation
fn:minutes-from-time

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

Summary

Returns an xs:integer value between 0 to 59, both inclusive, representing the value of the minutes component in the localized value of $arg.

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

Parameters
arg The time whose minutes component will be returned.

Example

fn:minutes-from-time(xs:time("13:00:00Z"))
=> 0 
Powered by MarkLogic Server | Terms of Use | Privacy Policy