\documentclass{article}

\usepackage[a4paper]{geometry}

\title{ P1120148 }

\author{ Sam Wilson }

\date{ 2018 May 25 (Friday), 4:14AM }

\begin{document}
\maketitle
\tableofcontents



\end{document}
