First it will be very helpful to know what do you mean by "quarantine time"
1.Is it mean the time for which material is with Quality ?
>>This can be time between IL creation & UD taken.
or
2.Is it mean time for which it is quarantine in perticuler storage location ?
>>This can be from Inventory mangement tables.you can catch time between creation of material document to put material in quarantine & when its removed.