public function setStartDay($daysBack)
    {
        if (!is_null($daysBack)) {
            $this->addStatusMessage('Start Date '.date('Y-m-d',
                    mktime(0, 0, 0, date("m"), date("d") - $daysBack, date("Y"))));
        }
        $this->daysBack = $daysBack;
    }
public function setStartDay($daysBack)
    {
        if (!is_null($daysBack)) {
            $this->addStatusMessage('Start Date '.date('Y-m-d',
                    mktime(0, 0, 0, date("m"), date("d") - $daysBack, date("Y"))));
        }
        $this->daysBack = $daysBack;
    }
public function setStartDay ( $ daysBack ) { if ( ! is_null ( $ daysBack ) ) { $ this -> addStatusMessage ( 'Start Date ' . date ( 'Y-m-d' , mktime ( 0 , 0 , 0 , date ( "m" ) , date ( "d" ) - $ daysBack , date ( "Y" ) ) ) ) ; } $ this -> daysBack = $ daysBack ; }
Start set date

@param int $daysBack
Start set date