In LaTeX, when you're using a title environment, the current date is automatically inserted.
\documentclass[a4paper, 12pt, twoside]{article} \title{Title} \author{Author} \begin{document} \maketitle ... \end{document}
Alternatively, you can insert the current date anywhere using \today
. The date format depends on the language or language package being used.
\documentclass{article} \begin{document} Text \today Text \end{document}
Result: "Text April 5, 2024Text"
So, it's advisable to add an extra space:
\documentclass{article} \begin{document} Text \today \ Text \end{document}
Result: "Text April 5, 2024 Text"