Submillimeter constraints on the evolution of circumstellar disks