Time and Treatment Allocation