Removing the endline from the timestamp