Question
Cognizant
Cognizant
IN
Cognizant
Posted: Sep 14, 2022
Last activity: Sep 20, 2022
Last activity: 20 Sep 2022 4:22 EDT
Closed
Solved
How to calculate difference between two dates with business calendar with property
I have requriment like two dates
1.effectivedate which is higher value
2.application date is lower value
I need to if the difference of both dates should be greater than 63 days
can anyone please help how can achieve this using function in pega
Thanks In Advance
***Edited by Moderator Marissa to change type from Pega Academy to Product, added Product details and Capability tags***
To see attachments, please log in.
Hi @AVINASHL4108
You can use @DateTime.DateTimeDifference function to calcuate diffrence between two dates.
ex: DateTimeDifference("20090109T160000.000 GMT", "20090109T162504.370 GMT", "s") = 1504.0
As your requirement is in days, use 'D' instead of 's'.
Thank you
Vishwa Teja