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

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