The following Module will help you to achieive it
You can use the module in app store:
Also please find the forum question link below which can help you :
Hello Pranjali Kawale ,
You can also try like this,
>>1, calculate the amount of full weeks you have in the period, and multiply this with 5.
– (daysBetween($StartDate,$EndDate) – (daysBetween($StartDate,$EndDate) mod 7) div 7)*5
>>2 find out which days are in your remainder (because you could have not full weeks)
– Create a variable with the number of remainder days: daysBetween($StartDate,$EndDate) mod 7.