\documentclass{article}

\usepackage[a4paper]{geometry}

\title{ P7861 }

\author{ Julia Denton-Barker }

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

\begin{document}
\maketitle
\tableofcontents

nice one!

\end{document}
