\documentclass{article}

\usepackage[a4paper]{geometry}

\title{ P1120120 }

\author{ Sam Wilson }

\date{ 2018 May 24 (Thursday), 12:55PM }

\begin{document}
\maketitle
\tableofcontents



\end{document}
