What is XQuery minutes-from-duration function in XML

In this article, we are going to explain minutes-from-duration function in XQuery
  • 1693

ninutes-from-duration Function

This function calculates minutes in a duration. It takes only a single argument-

  • duration

it have fallowing properties- 

  • deterministic

  • context-independent

  • focus-independent

Syntax of ninutes-from-duration Functio


DurationValue also consist  one of the fallowing types-

  • xdt:dayTimeDuration
  • xs:duration
  • xdt:yearMonthDuration
Example of ninutes-from-duration Function

xdt:dayTimeDuration("PT12M")) returned 12 minutes.

Further Readings

You may also want to read these related articles:

Ask Your Question 

Got a programming related question? You may want to post your question here


More Articles

© 2020 DotNetHeaven. All rights reserved.