You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register
Get Started with Redwood for Oracle Cloud HCM   Begin Now

How to convert date with timestamp to only date and compare to validate only dates

Accepted answer
33
Views
6
Comments

Summary:

Hello,

We have a requirement (DOR) to compare two attributes (DEI_ATTRIBUTE_TIMESTAMP1 and DEI_ATTRIBUTE_TIMESTAMP2) they should be identical only in dates but time can be different. But the value set is TIMESTAMP. I have tried the following but ended up with an error (RootCause Exception message: Unparseable date: "yyyy-MM-dd" Call Stack: java.text.DateFormat.parse(DateFormat.java:366)). looking for inputs and suggestions.

Content (please ensure you mask any confidential information):


Version (include the version you are using, if applicable):



Code Snippet (add any code snippets that support your topic, if applicable):

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!