How to calculate tax based on joining date

if employee is not declaring previous tax amount and earning then

how tax will calculate at them month of june

payroll period is 1st april to 31 march

but what if my employee join on 15th june