code: public function setVisitTime($visitTime)
      {
          if ($visitTime instanceof \DateTime) {
              $this->visitTime = $visitTime;
          } else {
              $this->visitTime = new \DateTime($visitTime);
          }
          return $this;
      }
docs: setVisitTime - Sets the visit time.
  
  @param unknown_type $visitTime
  @return \Zf2Forum\Model\Visit\Visit