fn:implicit-timezone function

The fn:implicit-timezone function returns the time zone that is used when a date, time, or dateTime value that does not have a time zone is used in a comparison or arithmetic operation.

The implicit time zone is the value of PT0S.

Syntax

Read syntax diagramSkip visual syntax diagramfn:implicit-timezone()

Returned value

The returned implicit time zone value has type xs:dayTimeDuration.

Example

The following function returns xs:dayTimeDuration("PT0S"):
fn:implicit-timezone()