previous date from sysdate in XML publisher
Hello,
how to get previous date from sysdate in XML publisher?
I want something like <?sysdate()-1?>
Hi,
You could either try this <?xdoxslt:sysdate()-1?> or calculate the previous date in the dataset and use it in the report.
Source Database is Oracle 11g.
In report please
Are you wanting to do in Report Template or in Query?
What is your source database?
<?xdoxslt:sysdate()-1?> output is not in correct format.
for example: if i generate output today(2017/25/04), its printing as "202504".
format is not changing even if i change property of this element.
yes, i included in dataset and used in template.
but i want to know method of using sysdate function in formula.
This is preferable to calculate SYSDATE -1 in database and create XML tag for that. Because BI Publisher treat date as number so suppose you have 01-APR-2017 and you will do -1 for this it will print 00-APR-2017, this is not valid date. So better do it on database and use XML
Thanks
Where AI meets business outcomes Oracle AI World brings the Oracle community together to explore how AI and other technology innovations are driving real business outcomes across industries. Discover what’s new through: Mainstage keynotes to hear the latest directly from Oracle leadership Product demonstrations Customer…
I creates a parameter "Role Name" and then I put the Role name field in the filter and made a bind to the parameter, When I add the value in the parameter, it works. When I delete it from the parameter it give me <empty> How do I get rid of the <empty>
Hi Team, Has anyone upgrade OAS system from the 2024 to 2026 version? if yes, could you please share the resposne files. Regards, Chand
We need to download a report with the order number as the file name. In the main report, we have a data action (hyperlink) on each order number. When we click an order number, the linked report is downloaded with the corresponding order details. Currently, the file is downloaded using the report name. We need to download…
I tried the following expression and it blows up when I select more that one value in the list see image
We are using Oracle Analytics Server 2026 with WebLogic Server 14.1.2. Our Account Statement report is accessed through '/xmlpserver'. We need to capture the following details in the OAS/Publisher log files whenever a user runs the report: Username Report name and path Report execution timestamp Account Number From Date To…