Question
Bentego
Bentego
TR
Bentego
Posted: May 31, 2021
Last activity: Jun 1, 2021
Last activity: 1 Jun 2021 10:08 EDT
Closed
Find days between two dates selected from calendar
I choose the start and end dates from the calendar. For example, let 23.05.2021 be the start date, 29.05.2021 will be the end date. How can I find the in-between dates using pega, for example 25.05.2021, 26.05.2021
***Edited by Moderator: Pooja Gadige to move from Pega Academy to Product, add platform capability tag***
To see attachments, please log in.
@MuratYavuz Get datetime difference between today. Now you will get result in integer.
For example :
Start date :17/08/1994
End date : 20/08/1994
Assume it results difference as 3. now 3 states as end date as well.
To find between dates also, just loop the integer like
For i=1, i<output integer, i++
For pagelist and add dates with addtodate function based on start date
now you will get output as :
18/08/1994
19/08/1994