Question5Replies52Views KAMMARIS0135 Member since 2020 1 post Padmasri Dr.B.V.Raju Institute of Technology Posted: May 27, 2020Last activity: 4 weeks 1 day 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: 6 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: 4 weeks agoUpdated: 4 weeks agoKAMMARIS0135 Padmasri Dr.B.V.Raju Institute of Technology replied to kanap2Thank You Sir. Posted: 6 months agoUpdated: 6 months agoShyju PEGA replied to KAMMARIS0135You can do as below, @round(@DateTime.DateTimeDifference(Param.Date1,Param.Date2,M)) Posted: 4 weeks agoUpdated: 4 weeks agoKAMMARIS0135 Padmasri Dr.B.V.Raju Institute of Technology replied to ShyjuThank You Sir. Posted: 6 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).