Dear Durgesh,
First of all, look into the company's leave policy because it matters as per statutory regulations. If any employee takes leave from the first day of the week to the end date of the week, then you have to consider only the start date to the end date. For example, Monday to Saturday (Sunday is the day off) equals 6 days. Similarly, Monday to Friday (Saturday and Sunday off) equals 5 days.
However, if an employee takes leave continuously from the previous week to the next week, then it will include the weekly off days. For instance, leave from Thursday to Tuesday - the employee rejoins on Tuesday or Wednesday (if on Tuesday, then 5 days and if on Wednesday, then 6 days).
I hope this information helps you.
Thanks,
Shibaji R.