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.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

from time to time, a current month value has to be updated.

it is a din a4 page, which includes german and english text. at the end of the page, only the month and year (without a day) is given.

For instance Jänner / January 2014 (right now)

which LaTeX command / trick can be used to avoid manual month modifications? (when using pdflatex, the 2 month values and the year should be up to date without a modification but in german and english --- as stated in the example above)

share|improve this question
up vote 5 down vote accepted

I would define my own translations, which also allows you to predict the output. Below \monthGermanEnglish conditions on \THEMONTH (provided by datetime) and prints the appropriate German translation:

enter image description here

\usepackage{datetime}% http://ctan.org/pkg/datetime
  \or Januar / January% 1
  \or Februar / February% 2
  \or M\"arz / March% 3
  \or April / April% 4
  \or Mai / May% 5
  \or Juni / June% 6
  \or Juli / July% 7
  \or August / August% 8
  \or September / September% 9
  \or Oktober / October% 10
  \or November / November% 11
  \or Dezember / December% 12
\verb|\today:| \today \par
Month: \monthGermanEnglish
share|improve this answer
that avoids much headache & some update effort. Danke / Thanks – mnemonic Jan 13 '14 at 8:09

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.