Question4Replies1269Views STALIN A Member since 2011 3 posts Monarch Info Tech Services Ltd Posted: June 12, 2017Last activity: June 22, 2017 Closed How to find Months and remaining days between 2 datesIs there any function/logic to find a Months and Days between 2 dates.Ex:StartDateEndDateExpected ResultComments15/04/201815/04/20180 Months 1 DayCount starts from Startdate as 1 day10/04/201815/04/20180 Months 6 Days15/04/201814/08/20184 Months 0 Days15/04/201820/08/20184 Months 6 Days29/02/202031/03/20201 Month 3 Daysshould consider Leap Years and Day Light savings period as well Data Integration Java and Activities User Interface ×Close popoverFacebookTwitterLinkedinEmail Copy Link Copied! Moderation Team has archived post This thread is closed to future replies. Content and links will no longer be updated. If you have the same/similar Question, please write a new Question. Posted: 3 years agoPaulGentile_GCS PEGA replied to STALIN Agreat resource here : https://stackoverflow.com/questions/13084651/java-method-to-find-difference-between-2-date-objects-in-years-months-and-days Posted: 3 years agoSTALIN A Monarch Info Tech Services Ltd replied to PaulGentile_GCSThanks Paul, it is really helpful. Posted: 3 years agoBHANUPRAKASHR6650 INCESSANT TECHNOLOGIES replied to STALIN AHi Joestalin, There is no specific inbuilt function available in Pega, write your own function and use that as per the requirement. Thanks & Regards, Bhanu Prakash. Posted: 3 years agoSTALIN A Monarch Info Tech Services Ltd replied to BHANUPRAKASHR6650Thanks Bhanu, I tired but still i am facing issues with few scenarios (Daylight savings & when days are within Feb month ).I will update you all once I get the final solution.