fn:timezone-from-time

fn:timezone-from-time( time? $srcval) → xdt:dayTimeDuration?

Function signature

$srcval

xs:time ?

Result

xdt:dayTimeDuration ?

Extracts the timezone component of a time value

XPath 2.0 Specification

Implemented. Changed in 7.8 to return dayTimeDuration rather than string.

Note: The old name get-timezone-from-time is retained as a synonym


Expand

Up  Next