Adjusts an xs:date value to the implicit time zone in the evaluation context (the system's time zone).
XQuery, XSLT 2.0, XSLT 3.0.
The input value of type xs:date.
The following mapping constructs an xs:date from a string and supplies it as argument to the adjust-date-to-timezone function.
XSLT 2.0 mapping
If the mapping runs on a computer where the system time zone is +02:00, the function adjusts the date value to include the system's time zone. Consequently, the mapping output is 2020-04-30+02:00.