\documentclass{article}

\usepackage[a4paper]{geometry}

\title{ &#039;Te Kaha&#039; New Zealand navy ship }

\author{ Sam Wilson }

\date{ 2017 March 12 (Sunday), 1:33AM }

\begin{document}
\maketitle
\tableofcontents

'Te Kaha' New Zealand navy ship

\end{document}
