\documentclass{article}

\usepackage[a4paper]{geometry}

\title{ The giraffes of Oakland }

\author{ Sam Wilson }

\date{ 2018 December 12 (Wednesday), 8:59AM }

\begin{document}
\maketitle
\tableofcontents

Riding the train to work is just like being in Fremantle.

\end{document}
