Hi Everyone, Actually I am working on leave app(canvas app) in which I have made a custom calendar, on that calendar I want to show the applied leave's Sessions Label name: for example
If a user is taking leave from 01-08-2022, Session1 (from date) to 03-08-2022, Session 1((To date) the number of days will count as 2.5 days ,
01-08-->01-08=1 day (Full day leave) S1-S2
02-08-->02-08=2 days (full day leave)S1-S2
03-08-->03-08=0.5 day (half day leave)S1-S1
total days=2.5
here S1 And S2 are just working as AM and PM
Basically I just want the dates which are lying between the from date and To date
on calendar I just want show these Sessions names(S1-S2) as per the requirement, I have also attached the pics for the reference I hope it will give you some help for understanding.
Thanks.