Question

F. Hoffmann-La Roche Ltd
IN
Last activity: 27 Jun 2021 23:14 EDT
Getting incorrect business day difference by using function differenceBetweenDays
Hi All,
We are facing a issue with differenceBetweenDays function. By using this function we are getting correct results for past days (Current Date and Past Date) but for future it is giving incorrect date difference( because it is considering Saturday as working day and Sunday/Monday as holiday).
@(Pega-RULES:BusinessCalendar).differenceBetweenDays( Param.CurrentDate, Param.DesiredDate , true, pxRequestor.pyCalendar)
Thanks and Regards,
Kapil Dev Gautam