My Oracle Support Banner

Setting Two Digit Year to Pattern of convertDateTime Doesn't Work Correctly (Doc ID 3067381.1)

Last updated on JANUARY 22, 2025

Applies to:

Oracle JDeveloper - Version 12.2.1.4.0 and later
Information in this document applies to any platform.

Symptoms

When two digit year without separator is set to pattern of convertDateTime, the server-side validation doesn't work correctly.
Validation Error occurs even if a correct value is input.

simple example:

When inputting 240901 into the inputDate1(yyMMdd) and clicking on the button, "Error: The date is not in the correct format" is displayed.

This issue doesn't occur when "yy/MMdd" is set to pattern and 24/0901 is input.

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.