Tax Calculation

How is the Income-tax calculation and Salary structure defined for an employee who joins mid year ?? Is there a place where the earnings till date and tax paid till date are captured?