I need your help. My app calculates salary based on the input dates. For example, if employee worked 15 days out of 20 working days I need to calculate the salary.
How to tell the app that there are 20 working days in this month?
While calculating salary how to consider this month working days? (considering that working days can change each month)
@nshikhaliyev how come you need to tell the app that there’s 20 working days?
Most tracking and payment apps just look at the amount of days the user has worked and calculates the salary. It doesn’t matter how many possible working days there are as long as you’re still using a gregorian calendar.