Dear Meghana,
Salary depends upon the type of payment, i.e. if a worker is on daily wages, the wages should be divided into 26 days. Otherwise, if he is paid a monthly wage/salary, it depends upon the month's days.
Secondly, in most companies, for the easy and prompt payment of salary on the 1st day of the succeeding month, attendance closing would be made on the 20th or 25th. That is, from the 21st day of the preceding month to the 20th day of the succeeding month, which is the system followed in our concern as well. The remaining days would be considered as "assumed attendance," and any leave or loss of pay will be factored into the calculation for the next month.
I hope I have cleared your doubts. If there is anything wrong, seniors, please guide me.
Regards,
B. Saravanakumar