BI Publisher (MOSC)

MOSC Banner

Require BI Publisher Syntax

edited Mar 5, 2015 10:00AM in BI Publisher (MOSC) 1 commentAnswered


Hi

I want BI publisher syntax which will calculate two dates difference i.e. (today - Some date before today.) and result will give a numeric number.

<?xdoxslt:date_diff( 'd' , psfn:totext(Created,"yyyy-MM-dd","MM/dd/yyyy"), psfn:totext(Today,"yyyy-MM-dd","MM/dd/yyyy"), $_XDOLOCALE, $_XDOTIMEZONE)?>

If I am using above syntax and instead of Today I am passing Sysdate every time I am getting 0 as their subtraction result.

Please provide me the correct Syntax.

Thanks in Advance

Patit

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