Question

9
Replies
2655
Views
NatarajanMH Member since 2015 2 posts
TCS
Posted: 3 years ago
Last activity: 3 years 3 months ago
Closed

Difference between days function not working as expected

Hi All,

I'm trying to get the difference between 2 days (excluding weekends using the business calendar ) using the below function. But it giving inconsistent result.

@(Pega-RULES:BusinessCalendar).differenceBetweenDays("20170622","20170628" , true,Calendar)

Calendar- excluding the weekends

timezone-Australia/Sydney

PEGA version: 7.1.6

The above function should return 4.

But I'm getting different answers like 3 or 4 or 5 inconsistently.

Could anyone help me on this.

Thanks in advance

Low-Code App Development Data Integration Java and Activities
Moderation Team has archived post
Share this page LinkedIn