\documentclass{article}

\usepackage[a4paper]{geometry}

\title{ P7891 }

\author{ Sam Wilson }

\date{ 2018 June 7 (Thursday), 11:49PM }

\begin{document}
\maketitle
\tableofcontents

Thanks! :) I think the ugly bits of Freo are soon going to be all gone.

\end{document}
