Oracle Analytics Publisher

Welcome to the Oracle Analytics Community: Please complete your User Profile and upload your Profile Picture

BI Publisher - add 12 months to a date element in rtf template

Question
5
Views
0
Comments

<?format-date:xdoxslt:ora_format_date_offset(DATE_SEGMENT2, 365, '+');'MONTH DD, YYYY'?>

Date_segment2 (a placeholder) - by itself is able to output January 1, 2025

This is the code I am currently using in my rtf template, and I am able to output January 1, 2026 with it.

However I am aware this will not account for leap years, so I am wondering if there is a more fool-proof way of just adding the months to the date so it will still output January 1, 2026. Any advice on this topic would be sincerely appreciated. Thank you!

Tagged: