view 3: filter for datetime field is not working I have created a customised module that export the content of a remote database tables to the view interface, every thing works fine except of the filter of the datetime field. In my file: mytable.views.inc

function mytable_views_data() {
  $data = array();
  $data['table1'] = array (
  'table' =&gt; 
   array (
    'group' =&gt; 'table1',
    'base' =&gt; 
     array (
      'field' =&gt; 'id',
      'title' =&gt; 'table1',
      'help' =&gt; 'table 1',
      'weight' =&gt; 10,
      'database' =&gt;'database-name',
    ),
  ),
  'id' =&gt; 
   array (
    'title' =&gt; 'Id',
    'help' =&gt; 'Id',
    'field' =&gt; 
     array (
      'handler' =&gt; 'views_handler_field_numeric',
      'help' =&gt; 'Id',
      'click sortable' =&gt; true,
    ),
    'filter' =&gt; 
    array (
      'handler' =&gt; 'views_handler_filter_numeric',
      'allow empty' =&gt; true,
      'help' =&gt; 'Filter on &lt;em class="placeholder"&gt;Id&lt;/em&gt;',
    ),
    'argument' =&gt; 
    array (
      'handler' =&gt; 'views_handler_argument_numeric',
      'help' =&gt; 'Id',
    ),
    'sort' =&gt; 
    array (
      'handler' =&gt; 'views_handler_sort',
      'help' =&gt; 'Sort by &lt;em class="placeholder"&gt;Id&lt;/em&gt;',
    ),
  ),

     'date' =&gt; 
      array (
      'title' =&gt; 'Date',
      'help' =&gt; 'Datetime field',
      'field' =&gt; 
       array (
      'handler' =&gt; 'views_handler_field', // I tried also 'views_handler_field_date' and 'views_handler_field_datetime' but view displays the message field handler is broken
      'help' =&gt; 'Date',
      'click sortable' =&gt; true,
    ),
    'filter' =&gt; 
     array (
      'handler' =&gt; 'views_handler_filter_date',
      'allow empty' =&gt; true,
      'help' =&gt; 'Filter on &lt;em class="placeholder"&gt;Date&lt;/em&gt;',
    ),
    'argument' =&gt; 
    array (
      'handler' =&gt; 'views_handler_argument_date',
      'help' =&gt; 'Date',
    ),
    'sort' =&gt; 
    array (
      'handler' =&gt; 'views_handler_sort_date',
      'help' =&gt; 'Sort by &lt;em class="placeholder"&gt;Date&lt;/em&gt;',
    ),
  ),

);

return $data;
}


all the data fields are displayed properly in the view interface :

and the filter of the field datetime is displayed also:


The problem is the filter have no effect on the datetime field, I tried to filter the field but the filter has no effect and the data was not filtered, I think that there is a non compatibility issue between the field handler and the filter handler but once I tried to use the field handler: 'views_handler_field_date' or 'views_handler_field_datetime', the views didnt displayed the data of the datetime field and it has indicated that the field handler is broken, and with the handler 'views_handler_field' every things is displayed well but the filter is not working!
Try this handler views_handler_field_date, then uninstall and reinstall the module and try. Otherwise your changes will not affect.