\documentclass{article}

\usepackage[a4paper]{geometry}

\title{ P7862 }

\author{ Julia Denton-Barker }

\date{ 2019 January 22 (Tuesday), 1:01AM }

\begin{document}
\maketitle
\tableofcontents

lovely

\end{document}
