He was remanded in custody until then.
A friend of Mr Wharawhara first approached staff at the Auckland Hospital emergency department about two hours after the alleged attack on the homeless man in Outhwaite Park in the central Auckland suburb of Grafton, at about 10.06pm on November 10.
He was with associates in the park at the time of the incident.
Hospital staff called for an ambulance but paramedics were unable to find Mr Wharawhara as his friends had left the hospital without providing exact location details, police said following the incident.
Around 30 minutes later police received a phone call about a body in the park and attended the scene. However, they also could not locate the victim, who had by that time been carried to the hospital by his two friends.
It was 11pm by the time he arrived at the emergency department, police said at the time. Mr Wharawhara later died of his injuries.