Question2Replies374Views PrincessNikkaM Member since 2019 2 posts Accenture Posted: October 28, 2019Last activity: November 7, 2019 Closed SAE 8 Capstone: US-113 - Unable to configure the Total Rental DaysHi,How to configure Total Rental Days as a calculated integer field by subtracting the Pickup Date from the Return Date?I Used @differenceBetweenDays( .PickupDate, .ReturnDate, false, Default) but it's not working.Thanks Pega Academy ×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: 1 year agochuat PEGA replied to PrincessNikkaMYou are over-thinking it... all you need is simply: .ReturnDate - .PickupDate Posted: 1 year agoNarender Lakshetty Bank Of America replied to chuatYes this will work for both date and Datetime type source properties.You can see get return value in integer either positive or negative values depends on the difference between dates.