saxon:dayTimeDuration-from-seconds()

dayTimeDuration-from-seconds(number)

This function returns an instance of xdt:dayTimeDuration corresponding to the given number of seconds.

This function is deprecated, since it is now possible to achieve the same effect using standard functions and operators: write xdt:dayTimeDuration("PT1S") * $N

Expand

Up  Next