How can I change the weekly calendar to start with today?

I am trying to make the appointments+ weekly calendar start with today's date. The other thing I need is for a date to be submitted from another page and the start day of the weekly calendar be whatever day is submitted I've gotten it to work, sort of. It works for today's date, and it works for any date submitted except if the day is Sunday. Through troubleshooting, I'm at a loss. The code I changed in the appointments.php file is below:

// To follow WP Start of week, time, date settings
		if(isset($_GET['from']))
                {
                     $this->local_time = current_time('timestamp');
                     $time_stamp = strtotime($_GET['from']);
                     $day = date('w', $time_stamp);
                     $this->start_of_week = $day;
                }
                else
                {
                     $this->local_time = current_time('timestamp');
                     $day = date( "w", $this->local_time);
                     $this->start_of_week = $day;
                }
		$this->time_format			= get_option('time_format');
		$this->date_format			= get_option('date_format');
		$this->datetime_format		= $this->date_format . " " . $this->time_format;