[texhax] date format

Nina Mazumdar nina.mazumdar at gmail.com
Sat May 31 06:05:48 CEST 2008


On Fri, May 30, 2008 at 10:24 PM, Schiller Judith 1541 EB
<Judith.Schiller at erstebank.at> wrote:
> hello,
>
> i'd like to look my \today date exactly like
>
> dec 12th 2008

Here is one way of doing it:

\usepackage[normal]{engord}  %% from the Oberdiek bundle at CTAN

\def\today{\ifcase\the\month \or
  Jan\or Feb\or Mar\or Apr\or May\or Jun\or Jul\or Aug\or Sep\or
  Oct\or Nov\or Dec\fi\space\engordnumber{\the\day}\space\the\year}

Happy TeXing and best regards

-- 
Nina


More information about the texhax mailing list