Using the LaTeX command \today, I can insert the current date. Is there any way to insert the current year with a simple command? All I want is the simple 4 digit year that shows up in \today.
Tell me more
×
TeX - LaTeX Stack Exchange is a question and answer site for
users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.
|
|
||||
|
|
migrated from stackoverflow.com Jun 2 '11 at 18:12
Here |
|||||||||||||
|
|
For the sake of Geoff's question above, here is some short code to only get the year, without changing any of the build-in macros.
|
|||||||
|
|
|||||
|