Dear Veeresh,
For your clarification:
1st Step: O.T = Basic / no. of working days in a month. You will get the Basic pay for one day. Now it is to find out the Basic Pay for an Hour (in our concern, I use calculation for minutes). So the next step is,
2nd Step: The result of the 1st step / no. of working hours per day.
3rd Step: The result of the 2nd Step X no. of O.T hours worked.
For example: Basic = 3500.00, No. of Days: 25, No. of working hours: 8, O.T hours = 2. Then,
3500 / 25 / 8 * 2.