Question3Replies1443Views adithyap43 Member since 2016 1 post Serendebyte Posted: 3 years agoLast activity: 3 years 3 months ago Closed Finding difference between two dates and adding it to other dateHi All,My requirement is to find the difference between two dates in seconds and add it to another date. Here I am facing following two difficulties.1. The function "DateTimeDifference" is returning the result in double which cannot be passed to "addToDate" function as it does not accept double values.2. If I catch the result of "DateTimeDifference" in integer property it has range limit which I cannot use in all scenarios.How to solve this?Thank you,Adithya***Updated by moderator: Lochan to update Categories*** Case Management 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 agoSwarnenduM Infosys replied to adithyap43Hi Aditya, There are @differenceBetweenDates() and differenceBetweenDay() function which returns the difference between two dates and days (as int value). You can capture it as decimal and then pass the same to addToDate function. Posted: 3 years agoadithyap43 Serendebyte replied to SwarnenduMHi SwarnenduM, These functions return the difference between dates in days. But I want the difference in seconds. Regards, Adithya Posted: 3 years agoSwarnenduM Infosys replied to adithyap43Hi Aditya, In that case I think you have to typecast the return value (Decimal to String) of the function you have mentioned in your initial post.