removed unnecessary duplicate timestamp conversion