Last modified on 24 July 2009, at 13:51

# TeX/time

## SynopsisEdit

\time=<integer>
\time<integer>


## DescriptionEdit

\time is a parameter that TeX initiates to the number of minutes that have completed in the current day. TeX sets this parameter once upon start-up. If, for example, TeX starts at 10:32:45am, then \time would be set to 60*10+32=632, dropping the 45 seconds. This parameter may be changed to <integer> with either of the two equivalent forms above.

## ExamplesEdit

Recall that the command \number will typeset the decimal representation of whatever follows it, and TeX started at, say, 10:32:04am then

\number\time


will typeset 632, if the \time parameter has not be redefined since TeX started.

\time=-45
\number\time


will typeset -45.