Temporal Scaling Law for Large Language Models