XSLT and XPath function reference in alphabetical order
(Excerpt from “XSLT 2.0 & XPath 2.0” by Frank Bongers, chapter 5, translated from German)
Context information - date and time
The timezone factor of the implicit timezone as xs:dayTimeDuration.
Purpose of use:
The function returns the value of the implicit (memorised) timezone factor in the form of a xs:dayTimeDuration duration value. If there is no implicit timezone indication, the function returns the empty sequence. (Usually, it can be assumed that there is an implicit timezone indication in any form.)
Example 1 - implicit timezone factor for EST:
returns -P5:00. This means that the implicit timezone is 5 hours after the UTC (Universal Time Coordinated); therefore the timezone corresponds to the Eastern Standard Time (EST).
Example 2 - implicit timezone factor for CET:
returns P1:00. This means that the implicit timezone is 1 hour before UTC; therefore it corresponds to the Central European Time (CET).
The function is not available.
fn:implicit-timezone() as xs:dayTimeDuration
|<< back||next >>|
Copyright © Galileo Press, Bonn 2008
Printing of the online version is permitted exclusively for private use. Otherwise this chapter from the book "XSLT 2.0 & XPath 2.0" is subject to the same provisions as those applicable for the hardcover edition: The work including all its components is protected by copyright. All rights reserved, including reproduction, translation, microfilming as well as storage and processing in electronic systems.
Galileo Press, Rheinwerkallee 4, 53227 Bonn, Germany