Set exposed filter date programmatically
Use the below after set_display line.

function mymodule_views_pre_view(&amp;$view) {
  if ($view-&gt;name == 'myview_user'){
    $view-&gt;get_exposed_input();
    dsm($view-&gt;exposed_input['created']['min']);
    $view-&gt;exposed_input['created']['min'] = "2015-01-01";
    $view-&gt;exposed_input['created']['max'] = "2016-01-01";

    //$view-&gt;set_exposed_input($exposed_filters);
    $view-&gt;execute();
  }
}


Please refer the example