\time at the beginning of a job; they are internal integer registers that can be assigned new values. However, there is no LaTeX interface for modifying their values, so the primitive TeX assignment style has to be used: thus
will do, and similarly for the other registers mentioned above. Leave a space (or end of line) after the value, or append
\relax to be sure.
\time is initialized with the number of minutes past midnight when the job started. The initial values of
\year are the expected ones.
You can print their values by prefixing the register's name with
\the, as described in The \the command.