Require BI Publisher Syntax
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