Till what time shall my money be blocked in IPO?

The money will be blocked until the finalisation of allotment, post which the amount equivalent to allotted shares would be debited and balance amount (in case of partial allotment) will be unblocked.