Altova MapForce 2024 Basic Edition

Adjusts an xs:time value to a specific time zone, or to no time zone at all. If the timezone argument is an empty sequence, the function returns an xs:time without a time zone. Otherwise, it returns an xs:time with a time zone.

mf-func-xpath2-adjust-time-to-timezone2

 

Languages

XQuery, XSLT 2.0, XSLT 3.0.

 

Parameters

Name

Type

Description

time

xs:time

The input value of type xs:time.

timezone

xs:dayTimeDuration

The time zone expressed as an xs:dayTimeDuration value. The value can be negative. For example, a time zone value of -5 hours can be expressed as -PT5H.

© 2017-2023 Altova GmbH