public function get_next_day($daytimestamp) {
        $date = new \DateTime();
        $date->setTimestamp($daytimestamp);
        $date->modify('+1 day');

        return $date->getTimestamp();
    }
public function get_next_day($daytimestamp) {
        $date = new \DateTime();
        $date->setTimestamp($daytimestamp);
        $date->modify('+1 day');

        return $date->getTimestamp();
    }
public function get_next_day ( $ daytimestamp ) { $ date = new \ DateTime ( ) ; $ date -> setTimestamp ( $ daytimestamp ) ; $ date -> modify ( '+1 day' ) ; return $ date -> getTimestamp ( ) ; }
Get the next day.

@param int $daytimestamp The day timestamp.
@return int the following day
Get the next day .