Question
1
Replies
3059
Views
Posted: September 2, 2017
Last activity: September 2, 2017
Closed
Is there OOTB function(s) to get difference between two dates in months and dates?
1. I have a requirement that needs to find the difference between two dates in months and dates. Ex:
Current Date: 03-09-2017
Register Date: 04-07-2017
Duration: 1 Month 27 days
Hi,
There are @differenceBetweenDates() and differenceBetweenDay() function which returns the difference between two dates and days. You can also use @CurrentDateTime() function to get the current date. Can you check the below discussion, should be helpful.
https://pdn.pega.com/community/pega-product-support/question/difference-between-two-dates-months
Thank You.