\documentclass{article}

\usepackage[a4paper]{geometry}

\title{ Swimming pool in the harbour }

\author{ Sam Wilson }

\date{ 2022 October 24 (Monday), 3:13PM }

\begin{document}
\maketitle
\tableofcontents



\end{document}
