title: Returning all the data ignoring set year limit in SQL query
body: <p>I have written the following query to return all the leaves that an employee has taken.</p>
  
  <p><strong>What it should do</strong>  is return values that lie in the current year and ignore the rest.</p>
  
  <p><strong>What it is doing</strong> is that it returns all the values in the table including values that pertain to previous years.</p>
  
  <pre><code>$sqlBuilder = new SQLQBuilder();
  
      $arrFields[0] = '`leave_date`';
      $arrFields[1] = '`leave_status`';
  
      $arrTable = "`leave_table`";
  
      $selectConditions[1] = "`employee_id` = '".$employeeId."'";
      $selectConditions[2] = "`leave_date` &gt;= '".date('Y')."-01-01'";
  
      $query = $sqlBuilder-&gt;simpleSelect($arrTable, $arrFields, $selectConditions, $arrFields[0], 'ASC');
  
      $dbConnection = new DMLFunctions();
  
      $result = $dbConnection -&gt; executeQuery($query);
  
      $leaveArr = $this-&gt;_buildObjArr($result);
  
      return $leaveArr;
  </code></pre>
  
  <p>Can anyone figure out what I'm doing wrong here?</p>