fn:timezone-from-date

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

Function signature

$srcval

xs:date ?

Result

xdt:dayTimeDuration ?

Extracts the timezone component of a date value

XPath 2.0 Specification

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

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

Expand

Up  Next