public function dateExpired() {
    $fromTimeZone = !empty($this->convertedTimezone) ? $this->convertedTimezone : new DateTimeZone($this->siteTimezone);
    $localeCurrent = new OpenYLocaleDate();
    $localeCurrent->setDateByTimezone(new DateTimeZone($this->siteTimezone));
    $localeCurrent->convertTimezone($fromTimeZone);
    return $localeCurrent->getDate() >= $this->getDate();
  }
public function dateExpired() {
    $fromTimeZone = !empty($this->convertedTimezone) ? $this->convertedTimezone : new DateTimeZone($this->siteTimezone);
    $localeCurrent = new OpenYLocaleDate();
    $localeCurrent->setDateByTimezone(new DateTimeZone($this->siteTimezone));
    $localeCurrent->convertTimezone($fromTimeZone);
    return $localeCurrent->getDate() >= $this->getDate();
  }
public function dateExpired ( ) { $ fromTimeZone = ! empty ( $ this -> convertedTimezone ) ? $ this -> convertedTimezone : new DateTimeZone ( $ this -> siteTimezone ) ; $ localeCurrent = new OpenYLocaleDate ( ) ; $ localeCurrent -> setDateByTimezone ( new DateTimeZone ( $ this -> siteTimezone ) ) ; $ localeCurrent -> convertTimezone ( $ fromTimeZone ) ; return $ localeCurrent -> getDate ( ) >= $ this -> getDate ( ) ; }
Returns whether or not the current time has superseded the locale date.

@return bool
Returns whether or not the current time has superseded the locale date .