title: How to get start year from count of year in php?
body: <p>I have save year as input into database but it save the duration like if I get input 1990 as input in database save 26.Here 26 is difference of current date to selected date 2016-1990=26.I am using php Date function but it's not work proper.Using this get fixed year 1970</p>
  
  <pre><code>&lt;?php
          $dr = [];
          for($i = date("Y"); $i &gt; date("Y") - 100; $i--) {
              $dr[] = $i;
          }
          echo $form-&gt;field($model, 'ven_established_date')-&gt;dropDownList($dr);//Here Select year 
         ?&gt;
      $date = $model-&gt;ven_established_date;
                  echo '$date'.$date;
                  $year = date("Y", strtotime($date));
                  echo '$year'.$year;
  </code></pre>