Categories
- All Categories
- 15 Oracle Analytics Sharing Center
- 14 Oracle Analytics Lounge
- 212 Oracle Analytics News
- 42 Oracle Analytics Videos
- 15.7K Oracle Analytics Forums
- 6.1K Oracle Analytics Idea Labs
- Oracle Analytics User Groups
- 78 Oracle Analytics Trainings
- 14 Oracle Analytics Data Visualizations Challenge
- Find Partners
- For Partners
OBIEE12c: Formatting date mask for dd/mm/yy

Hi,
I want to format a date in OBIEE answers to dd/mm/yy in the users locale. The nearest I can get is using the custom formatting mask of [FMT:dateShort] i.e (dd/mm/yyyy) in column properties -> data format. Anyone know if there is a formatting mask which formats to dd/mm/yy in users locale?
Thanks
Answers
-
Within Column Properties-->Data Format-->"Date Format" select Custom-->Then in "Custom Date Format" mention format as dd/MM/yy , put this exact format
This should give you required format.
0 -
Thanks Syed.
I need the date format to change when the user's locale changes. So the format you have given would be fine say for UK locale as it formats to 15/06/17, however once the locale is changed to US I need it to format as 06/15/17 which the above doesn't give?
0 -
localedefinitions.xml contains and controls that for your environment
0 -
Thanks Christian
I added a new date format property <property name="dateShortYearFormat">M/d/yy</property> to the localedefinitions.xml file for the locales I need and restarted all services, though its not taking effect/showing up in the Data properties -> Data Format = Custom. I set Custom Data Format = [FMT:dateShortYear] but no good. Maybe the dateShortYear needs defined somewhere else ( I don't see anything revelant in localecharactersetlists.xml or localemappings.xml) Any ideas?
0