# fn:timezone-from-dateTime - XPath XQuery Reference

Returns the timezone component of an xs:dateTime.deterministiccontext-independentfocus-independentIf $arg is the empty sequence, the function returns the empty sequence.Otherwise, the function returns the timezone component of $arg, if any. If
               $arg has a timezone component, then the result is an
               xs:dayTimeDuration that indicates deviation from UTC; its value may
            range from +14:00 to -14:00 hours, both inclusive. If $arg has no timezone
            component, the result is the empty sequence.fn:timezone-from-dateTime(xs:dateTime("1999-05-31T13:20:00-05:00"))xs:dayTimeDuration("-PT5H")fn:timezone-from-dateTime(xs:dateTime("2000-06-12T13:20:00Z"))xs:dayTimeDuration("PT0S")fn:timezone-from-dateTime(xs:dateTime("2004-08-27T00:00:00"))()