Question

Virtusa
IN
Last activity: 27 Jan 2023 0:55 EST
Count total days by selecting fromdate and todate
My requirement is for leave Application,
When i Select FromDate and ToDate i need to display total days in TotalDays property.
I used "@differenceBetweenDays(.ToDate,.FromDate,false,"d")" .This function is not worked as expexted.
Help me on this.
Example:
FromDate : 23/01/2023
ToDate : 23/01/2023
Total Days :1
***Edited by Moderator Marije to change type from Pega Academy to Product***