BI Publisher (MOSC)

MOSC Banner

Problem with setting RTF variable with delimited date value

edited May 9, 2013 8:23AM in BI Publisher (MOSC) 5 commentsAnswered ✓
I am trying to set a variable using  Oracle Bi Publisher Desktop  RTF Templates Using the Template Builder for Word  11.1.16 in  my RTF template  using a date that is in YYYYMMDD format and reformating  the date value with substring.   Can some please steer me in the right direction.
DATUM  = "YYYYMMDD"   new format would be   "MM/DD/YYYY"


<?xdoxslt:set_variable($_XDOCTX, 'REPORTDATE',concat(substr(DATUM,5,2) || '-' || substr(DATUM, 7,2) || '-' || substr(DATUM, 1,4) ))?>

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center