public function getAdmissionTime()
    {
        if (isset($this->_gemsData['gap_admission_time']) && $this->_gemsData['gap_admission_time']) {
            if (! $this->_gemsData['gap_admission_time'] instanceof \MUtil_Date) {
                $this->_gemsData['gap_admission_time'] =
                        new \MUtil_Date($this->_gemsData['gap_admission_time'], \Gems_Tracker::DB_DATETIME_FORMAT);
            }
            // Clone to make sure calculations can be performed without changing this object
            return clone $this->_gemsData['gap_admission_time'];
        }
    }
public function getAdmissionTime()
    {
        if (isset($this->_gemsData['gap_admission_time']) && $this->_gemsData['gap_admission_time']) {
            if (! $this->_gemsData['gap_admission_time'] instanceof \MUtil_Date) {
                $this->_gemsData['gap_admission_time'] =
                        new \MUtil_Date($this->_gemsData['gap_admission_time'], \Gems_Tracker::DB_DATETIME_FORMAT);
            }
            // Clone to make sure calculations can be performed without changing this object
            return clone $this->_gemsData['gap_admission_time'];
        }
    }
public function getAdmissionTime ( ) { if ( isset ( $ this -> _gemsData [ 'gap_admission_time' ] ) && $ this -> _gemsData [ 'gap_admission_time' ] ) { if ( ! $ this -> _gemsData [ 'gap_admission_time' ] instanceof \ MUtil_Date ) { $ this -> _gemsData [ 'gap_admission_time' ] = new \ MUtil_Date ( $ this -> _gemsData [ 'gap_admission_time' ] , \ Gems_Tracker :: DB_DATETIME_FORMAT ) ; } // Clone to make sure calculations can be performed without changing this object return clone $ this -> _gemsData [ 'gap_admission_time' ] ; } }
Return the admission time

@return \MUtil_Date Admission time as a date or null
Return the admission time