24 hours, in which you were able to work 8 of them.
From the SRD:
The caster works for 8 hours each day. He cannot rush the process by working longer each day. But the days need not be consecutive, and the caster can use the rest of his time as he sees fit.