0

Is it

\date{April 5, 2022}

or

\date{April 05, 2022}

Is that leading 0 necessary for days?

10
  • Not a Latex question but the leading zero is not necessary. Apr 5, 2022 at 15:29
  • See en.m.wikipedia.org/wiki/ISO_8601 for more information. Apr 5, 2022 at 15:30
  • Is there any wrong if the zero is added? Apr 5, 2022 at 15:31
  • I am not an expert on this topic but I like the leading zero in my personal documents. Apr 5, 2022 at 15:43
  • 1
    @Dr.ManuelKuehner I pinged you after my answer was accepted so I assumed it was the right interpretation:-) Apr 6, 2022 at 8:22

1 Answer 1

4

You have not provided any example but in the standard classes such as article LaTeX does no processing of the date it is just a string that is typeset under the title so there is no format restriction:

   \date{I think it's today, but it could be yesterday}

is fine.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .