\documentclass{article}

\usepackage[a4paper]{geometry}

\title{ P5 }

\author{ Sam Wilson }

\date{ 2020 October 18 (Sunday), 12:21AM }

\begin{document}
\maketitle
\tableofcontents

It seems that toothpaste does work! But I've ordered a new case for my phone anyway.

\end{document}
