You can run payroll  for different locations on different dates. E.g. If you want to run payroll for Bangalore on 31st of each month and payroll for Mumbai on 5th of each month, you can do so. 

Each time you run payroll, select the location for which you want to run payroll by navigating to Employees tab > Run Payroll button > Select Location