Need help to produce results as shown in these examples
Ex-1
Start date 12-06-2023
End date 31-07-2023
Then Output will be
12-06-2023 to 30-06-2023 = 19 Days
June-2023
July- 2023
Ex-2
Start date 01-05-2023
End date 14-08-2023
Then Output will be
May-2023
June-2023
July-2023
01-08-2023 to 14-08-2023 = 14 Days
Ex-3 Start date 01-09-2023
End date 31-11-2023
Then Output will be
Sep-2023
Oct-2023
Nov-2023
Please help..
Ex-1
Start date 12-06-2023
End date 31-07-2023
Then Output will be
12-06-2023 to 30-06-2023 = 19 Days
June-2023
July- 2023
Ex-2
Start date 01-05-2023
End date 14-08-2023
Then Output will be
May-2023
June-2023
July-2023
01-08-2023 to 14-08-2023 = 14 Days
Ex-3 Start date 01-09-2023
End date 31-11-2023
Then Output will be
Sep-2023
Oct-2023
Nov-2023
Please help..