Categories
- All Categories
- 15 Oracle Analytics Sharing Center
- 15 Oracle Analytics Lounge
- 208 Oracle Analytics News
- 41 Oracle Analytics Videos
- 15.7K Oracle Analytics Forums
- 6.1K Oracle Analytics Idea Labs
- Oracle Analytics User Groups
- 76 Oracle Analytics Trainings
- 14 Oracle Analytics Data Visualizations Challenge
- Find Partners
- For Partners
how to set a user preference date format in BIP for Excel Template

Summary:
Either it should be mm/yy/dd or dd/mon/yyyy etc whatever user has setup in his preferences
Content (required):
Can you please help me in how can the date format should be set as per user preferences in BIP report.
in my case I'm displaying the PO creation date in Excel Template, so in the output the date format should be user preferences.
Answers
-
for the RTF, I am aware <?format-date:CreationDate; 'XDODEFDATE'?> This only works for rtf template.
Needs for excel template as above is not working on excel template in BIP
0 -
Please check the below document and see if it helps with your requirement.
How To Set Date As Per User Preference Time zone in Fusion Applications BI Publisher Report (Doc ID 2864734.1)
0 -
Hi Sumanth
Use the following sample SQL:
SELECT TO_CHAR(FROM_TZ(CREATION_DATE, DBTIMEZONE) at time zone (select :xdo_user_timezone from dual),'YYYY-MM-DD HH24:MI:SS ') creation_date, creation_date creation_date2, :XDO_USER_TIMEZONE, :xdo_user_name name FROM ap_invoices_all where
TRUNC(FROM_TZ(creation_date, DBTIMEZONE) at time zone (select :xdo_user_timezone from dual)) <=:p_date order by creation_date
This query only changed the time zone but not the date format. Here we are specifying the date format like
TO_CHAR(FROM_TZ(CREATION_DATE, DBTIMEZONE) at time zone (select :xdo_user_timezone from dual),'YYYY-MM-DD HH24:MI:SS ') .
I need to format date according to user preference , not by hard coding.
0 -
@Abhiengine Are you able to derive the date format from User preference? we do have the same requirement?
Thanks in advance.
0 -
@Abhiengine Are you able to derive the date format from User preference? we do have the same requirement?
Thanks in advance.
0