Question3Replies32Views KAMMARIS0135 Member since 2020 1 post Padmasri Dr.B.V.Raju Institute of Technology Posted: 3 months agoLast activity: 3 months 3 weeks ago Time DifferenceDear Team,How do I Calculate the number of months between two dates.Example:Date1 :25/05/2020Date2 :25/05/2017Expected Result: 36 Months. ***Edited by Moderator Marissa to update Platform Capability tags**** User Interface ×Close popoverFacebookTwitterLinkedinEmail Copy Link Copied! Posted: 3 months agokanap2 PEGA replied to KAMMARIS0135You can use the "DateTimeDifference" function but you need to append time to date property.Please find the below screenshot for more details: Posted: 3 months agoUpdated: 3 months agoShyju PEGA replied to KAMMARIS0135You can do as below, @round(@DateTime.DateTimeDifference(Param.Date1,Param.Date2,M)) Posted: 3 months agoRonLee_GCS PEGA replied to KAMMARIS0135Depending on exactly how you want his to work (round up? round down? only whole months?) you may end up having to write your own function alias using the SQL DATEDIFF function (or the MONTHS_BETWEEN function if you're on Oracle).