timezone-from-time(xs:time("13:20:00+05:00"))
from within a Java application, in order to extract the result from the result sequence, one would have to use this code:
String n = ((XDTDayTimeDuration)rs.first()).stringvalue(); println(n);
in order to get the result of ‘PT5H’