How to typeset current year using \date command?
![](https://secure.gravatar.com/avatar/e862dbef37733a423141a033116bc6f0.jpg?s=120&d=mm&r=g)
Hi, I was wondering whether it is possible to automatically typeset ONLY the current year using the \date command? From the reference manual I don't think it is possible! Maybe another trick is available! Thanks! Regards, Gerard Verhaag
![](https://secure.gravatar.com/avatar/93131e1e6e2204bd13501390d768dbdc.jpg?s=120&d=mm&r=g)
Am 13.06.2011 um 10:59 schrieb Verhaag, G.C.H.M.:
Hi,
I was wondering whether it is possible to automatically typeset ONLY the current year using the \date command?
From the reference manual I don't think it is possible! Maybe another trick is available!
\starttext \currentdate[year] \stoptext Wolfgang
![](https://secure.gravatar.com/avatar/e862dbef37733a423141a033116bc6f0.jpg?s=120&d=mm&r=g)
On 06/13/2011 11:04 AM, Wolfgang Schuster wrote:
Am 13.06.2011 um 10:59 schrieb Verhaag, G.C.H.M.:
Hi,
I was wondering whether it is possible to automatically typeset ONLY the current year using the \date command?
From the reference manual I don't think it is possible! Maybe another trick is available!
\starttext \currentdate[year] \stoptext
Wolfgang
...
Hi, Thank you very much! Regards, Gerard
participants (2)
-
Verhaag, G.C.H.M.
-
Wolfgang Schuster