As is -I suspect- usual is that while writing documents sometimes one skips writing certain parts for a cornucopia of reasons. For me that is usually because I am too lazy at the moment. In an case, then I have the following command to make a todo-note (can look better, I know):

\newcommand{\todo}[1]{ \vspace{5 mm} \par
\noindent \framebox{
\begin{minipage}
[c]{0.94 \textwidth}
\tt #1 \flushright  TODO
\end{minipage}
}
\vspace{5 mm} \par
}


I have obtained this some time ago from here. My question is how I add the date of adding the todo-note? One can assume that at least I compile the file on the same day as I added the todo-note, so to me, this sounds like the LaTeX process should store this in an auxiliary file (preferable one that already exists). How do I do this?

-

## closed as unclear what you're asking by Joseph Wright♦Sep 8 '13 at 8:41

Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.

Wouldn't it be much easier simply to add the date manually when writing the note? –  clemens Dec 16 '12 at 15:59
I suppose it is easy to do that, but the technique in itself might be useful in other cases as well :-). –  Jonas Teuwen Dec 16 '12 at 16:03
This does not answer your question, but you should have a look at the todonotes package. –  Peter Grill Dec 16 '12 at 17:25
@PeterGrill I know that package, but it has too many features while what I need is really simple. –  Jonas Teuwen Dec 16 '12 at 17:32
@JonasTeuwen: Ok. If you want to save the date when a \todo is first added to a file, you will also need to provide a unique name for each \todo in case you have more than one in a file. –  Peter Grill Dec 16 '12 at 17:51