Question

4
Replies
70
Views
Close popover
Raghunath Madarapu (Raghunathrao)
HCL Technologies

HCL Technologies
IN
Raghunathrao Member since 2015 3 posts
HCL Technologies
Posted: April 21, 2020
Last activity: April 23, 2020

Datedifference

Hi All,

I have two dates and I need difference in months. Is there any function which will helep this  I already used differenceBetweenDays function but its giving in days. @(Pega-RULES:BusinessCalendar).differenceBetweenDays(.YearOfPurchase, @getCurrentDateStamp(),false,"")

Example: Selected date = 01/02/2017 Current Date  = 21/04/2020   

Required Difference in Months.  

***Edited by Moderator Marissa to update Pega Academy to General; Platform Capability tags****

User Experience