public function dateIsLater(\DateTime $date) {
    $dateLater = FALSE;

    $t2 = $this->end_date->getTimeStamp();

    $t4 = $date->getTimestamp();

    if ($t2 < $t4) {
      $dateLater = TRUE;
    }

    return $dateLater;
  }
public function dateIsLater(\DateTime $date) {
    $dateLater = FALSE;

    $t2 = $this->end_date->getTimeStamp();

    $t4 = $date->getTimestamp();

    if ($t2 < $t4) {
      $dateLater = TRUE;
    }

    return $dateLater;
  }
public function dateIsLater ( \ DateTime $ date ) { $ dateLater = FALSE ; $ t2 = $ this -> end_date -> getTimeStamp ( ) ; $ t4 = $ date -> getTimestamp ( ) ; if ( $ t2 < $ t4 ) { $ dateLater = TRUE ; } return $ dateLater ; }
Checks if the date supplied ends after our event ends
@param \DateTime $date
@return bool
Checks if the date supplied ends after our event ends