My Oracle Support Banner

fn-bea:dateTime-to-string-with-format gives 2019 year for December 30 and 31 2018 with YYYY-MM-dd notation (Doc ID 2504487.1)

Last updated on OCTOBER 18, 2021

Applies to:

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


Oracle Service Bus

We have used the following function to generate current date-time on OSB pipeline.

This function worked fine though out the year of 2018 but only on 31st December 2018, this function returned a date-time as "current date-time + 1" year which was not expected.
I.e. instead of returning the year as 2018, it returned the year as 2019.

On 1st of January 2019 onward, the function again automatically started returning correct date-time.
So it seems that this function failed only for the day of 31st December 2018 and worked fine for all other days of the year.


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

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