<div dir="ltr"><div>`\renewcommand` not `\newcommad`</div><div><br></div><div>David</div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, 11 Jul 2022 at 22:49, Haines Brown <<a href="mailto:haines@histomat.net">haines@histomat.net</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">I have a lualatex document that uses the letter class. I find that <br>
this class automatically inserts the state to the right following the <br>
senders' mame and addrress.<br>
<br>
The date is displayed default with the format July 11, 2022.<br>
<br>
I prefer the date be closer to the ISO standard. I want it to be like <br>
the output of<br>
<br>
  \def\mydate{\leavevmode\hbox{\the\year.\twodigits\month.\twodigits\day}}<br>
  \def\twodigits#1{\ifnum#1<10 0\fi\the#1}<br>
<br>
  which is 2022.07.11<br>
<br>
I tried placing \newcommand*\today{\number\year.\number\month.\number\day}<br>
into the preamble, but lualatex complains that \today haa already <br>
been defined.<br>
<br>
Haine Brown<br>
<br>
</blockquote></div>