| 1 |
\documentclass[basque, twocolumn]{article} |
| 2 |
\usepackage{babel} |
| 3 |
\usepackage[useregional]{datetime2} |
| 4 |
\usepackage{pgffor} |
| 5 |
|
| 6 |
\makeatletter |
| 7 |
\newcommand{\changeyear}[1]{% |
| 8 |
\def\@dtm@currentyear{#1} |
| 9 |
} |
| 10 |
\newcommand{\changemonth}[1]{% |
| 11 |
\def\@dtm@currentmonth{#1} |
| 12 |
} |
| 13 |
\newcommand{\changeday}[1]{% |
| 14 |
\def\@dtm@currentday{#1} |
| 15 |
} |
| 16 |
\makeatother |
| 17 |
|
| 18 |
\begin{document} |
| 19 |
\DTMlangsetup[basque]{inessive=true} |
| 20 |
\foreach \myyear in {2000,...,2005}{ |
| 21 |
\changeyear{\myyear} |
| 22 |
\foreach \mymonth in {1,...,12}{ |
| 23 |
\changemonth{\mymonth} |
| 24 |
\foreach \myday in {1,...,31}{ |
| 25 |
\changeday{\myday} |
| 26 |
\today\par |
| 27 |
} |
| 28 |
\newpage |
| 29 |
} |
| 30 |
} |
| 31 |
|
| 32 |
|
| 33 |
% \changemonth{2} |
| 34 |
% \changeday{13} |
| 35 |
% This PDF was created on \today. |
| 36 |
|
| 37 |
% \changeyear{2001} |
| 38 |
% This PDF was created on \today. |
| 39 |
\end{document} |
| 40 |
|
| 41 |
|
| 42 |
%%% Local Variables: |
| 43 |
%%% mode: latex |
| 44 |
%%% TeX-master: t |
| 45 |
%%% End: |