\documentclass{article}

\usepackage[a4paper]{geometry}

\title{ P12407 }

\author{ Jonas Weiser }

\date{ 2017 July 23 (Sunday), 4:24AM }

\begin{document}
\maketitle
\tableofcontents

Like it!

\end{document}
