user2051823
user2051823

Reputation: 177

Oracle ADF Add secondaryPattern to Date in Query Component

I am working on secondary pattern on date object in Query component in ADF. I know that the default date format is "dd/MM/yyyy", I would like to add another pattern for "yyyy-MM-dd". Please let me know how can I implement this logic.

Upvotes: 0

Views: 576

Answers (1)

Cedric
Cedric

Reputation: 977

To change the format type of a Timestamp attribute in your View Object do as follow :

  • Open your View Object
  • Go to the "attribute" tab
  • select your Timestamp attribute that need to have another date format pattern
  • go to the "UI Hint" sub tab
  • Change Format Type to "Simple Date"
  • Change Format to your expected pattern (in your case yyyy-MM-dd)

Upvotes: 2

Related Questions