Sun-like stars form from the contraction of cold and dense interstellar clouds. How the collapse proceeds and what the main physical processes are driving it, however, is still under debate and a final consensus on the timescale of the process has not been reached. If the contraction proceeds slowly, supported by strong magnetic fields and mediated by ambipolar diffusion, or is driven by fast collapse with gravity dominating the entire process is still an open question. One way to answer this question is to measure the age of prestellar cores through statistical methods based on observations or via reliable chemical chronometers, which should better reflect the physical conditions of the cores. Here we report Atacama Pathfinder EXperiment o...