Convertible Bond Question

I have a question when you convert a bond to stock. Do you typically get paid interest accrued on the next available paydate after conversion or do they pay the accrued interest when you convert to stock? thanks