Cavity time