\documentclass{article}

\usepackage[a4paper]{geometry}

\title{ &#039;Bar&#039; ship }

\author{ Sam Wilson }

\date{ 2016 June 7 (Tuesday), 1:33PM }

\begin{document}
\maketitle
\tableofcontents

'Bar' ship

\end{document}
