BI Publisher (MOSC)

MOSC Banner

eText Output - Converting Date Format

edited Jun 25, 2018 2:50PM in BI Publisher (MOSC) 7 commentsAnswered
We're creating an eText output template and need to show a date in a specific format.  I'm converting an Oracle Apps date ('09-MAR-2010') to a specific format of 'DDMMYY' which should show as 030910 , but it just gives 00 for the day but rest is fine.  I get 000910.  Here is my syntax: 

to_char(CHECK_DATE,'DDMMYY')   - get 00 for the day

or

to_char(to_date(check_date,'DD-MON-YYYY'),'DDMMYY') - and still get 00 for the day

These both work in Pl/Sql.  What is the correct syntax in the eText output.

Thanks!

Karen

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