My Oracle Support Banner

Incorrect Date Transformation In Xquery (Doc ID 2629525.1)

Last updated on AUGUST 06, 2023

Applies to:

Oracle Service Bus - Version 11.1.1.7.0 and later
Information in this document applies to any platform.

Symptoms

Use the following command in xquery to send the system date to the end system.
-------------------------------------------------------------------------------
fn-bea:date-to-string-with-format("ddMMyyyy",fn:current-date())
-------------------------------------------------------------------------------

However the date is populated as one day earlier than the actual system date.

For eg: When the call performed on 11th Jan 2020, the date is populated after the xquery transformation as 10012020.


Changes

 

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Changes
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.