\documentclass{article}

\usepackage[a4paper]{geometry}

\title{ P17712 }

\author{ Julia Denton-Barker }

\date{ 2017 February 5 (Sunday), 9:28AM }

\begin{document}
\maketitle
\tableofcontents

pub on Leith Walk, Edinburgh

\end{document}
