\documentclass{article}

\usepackage[a4paper]{geometry}

\title{ Train crossing near Daglish }

\author{ Sam Wilson }

\date{ 2022 November 6 (Sunday), 9:18AM }

\begin{document}
\maketitle
\tableofcontents



\end{document}
