Hi,
how to calculate age between two dates excluding saturday and sunday in obiee 11g report,
used below but getting wrong values
DAYOFWEEK("START DATE")-DAYOFWEEK("END date")-4+
(TIMESTAMPDIFF(SQL_TSI_DAY,
TIMESTAMPADD( SQL_TSI_DAY , 1 - DAYOFWEEK("END date"), "START DATE"),
TIMESTAMPADD( SQL_TSI_DAY , 8 - DAYOFWEEK("START DATE"), "END DATE")))/7*5) ;