home contribute faq download

FunctX XQuery Functions

fn:implicit-timezone

The implicit timezone set by the processor

Google
Webxqueryfunctions.com

Description

The fn:implicit-timezone function returns the implicit time zone as an xs:dayTimeDuration value. The implicit time zone is used in comparisons and calculations involving date and time values that do not have explicitly defined time zones. The implicit time zone is implementation-defined.

This description is © Copyright 2007, Priscilla Walmsley. It is excerpted from the book XQuery by Priscilla Walmsley, O'Reilly, 2007. For a complete explanation of this function, please refer to Appendix A of the book.

Arguments and Return Type

NameType
return value xs:dayTimeDuration

Examples

XQuery ExampleResultsExplanation
implicit-timezone()
-PT5H
if the implicit time zone is UTC minus 5 hours (also represented as -05:00)

History

Published OnLast UpdatedContributor(s)
2006-06-272007-02-26W3C, XQuery 1.0 and XPath 2.0 Functions and Operators, http://www.w3.org/TR/xpath-functions/
Datypic XQuery Services

Recommended Reading:

XQuery