\documentclass{article}

\usepackage[a4paper]{geometry}

\title{ P19864 }

\author{ Sam Wilson }

\date{ 2016 June 17 (Friday), 9:17AM }

\begin{document}
\maketitle
\tableofcontents

thanks! it's not a great photo, but maybe people will ask me strange questions on the train... :-)

\end{document}
