Remove duplicate getCurrentTime assignment.