Question2Replies948Views wamsi Member since 2015 22 posts Capgemini Posted: 2 years agoLast activity: 2 years 3 months ago Closed Calculating Duration Between Two Dates in Years, Months in Pega RoboticsDear Team,How to calculate the difference between two dates in the Years and Months format in Pega Robotics ( OpenSpan ). could you please help.Example -Date 1- 30 January 2006 Date 2- 29 May 2018 Expected Result - 12 years, 3 months***Edited by Moderator Marissa to update categories*** Robotic Process Automation ×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: 2 years agoHari Ch PEGA replied to wamsiHello, The below link has similar discussion. May be this could help:- https://pdn.pega.com/community/pega-product-support/question/how-do-i-c… Thanks, Hari Posted: 2 years agowamsi Capgemini replied to Hari ChHi Hari, Thank for your reply. The suggested post will provide the result in a date format, but I need the difference in below format. 12 Years 4 Months Please provide if you have any sample code.