Body: <p>Is it possible to use relative date filters as a drupal views filter.</p>
  
  <p>I mean filter on something like registration date = this.fiscal_year</p>
  
  <p>I am playing with it but do not seem to get it to work.</p>
  
  <p>Relative date filters are supported by the api (see also <a href="https://civicrm.stackexchange.com/questions/31813/relative-date-filter-possible-in-api">Relative date filter possible in api?</a>) but I have no clue on whether they are also supporter in drupal views, and if not, if it would be difficult to add this functionality.</p>
  
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2019-11-22T15:06:25.970Z
Comments.Text: Hi Richard, this does really sound like a Drupal Views question, not so much a CiviCRM question. You would potentially be better of asking this question on https://drupal.stackexchange.com/
Comments.UserDisplayName: ErikH - CiviCooP
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2020-05-07T18:42:31.593Z
Comments.Text: Have you tried using conditional filters in Views?
Comments.UserDisplayName: Joe McLaughlin
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2020-05-07T18:45:03.283Z
Comments.Text: And/or see this - https://www.drupal.org/project/views_conditional
Comments.UserDisplayName: Joe McLaughlin
Tags: <drupal-views>
Title: Relative date filters in drupal views
ThreadText: # Relative date filters in drupal views
  
  (Asked by: username_0 on 2019-11-22)
  
  Is it possible to use relative date filters as a drupal views filter.
  
  I mean filter on something like registration date = this.fiscal\_year
  
  I am playing with it but do not seem to get it to work.
  
  Relative date filters are supported by the api (see also [Relative date filter possible in api?](https://civicrm.stackexchange.com/questions/31813/relative-date-filter-possible-in-api)) but I have no clue on whether they are also supporter in drupal views, and if not, if it would be difficult to add this functionality.
  
  **Tags:** drupal-views
  
  > **Comments:**
  > **username_1**: Hi Richard, this does really sound like a Drupal Views question, not so much a CiviCRM question. You would potentially be better of asking this question on https://drupal.stackexchange.com/  
  > **username_2**: Have you tried using conditional filters in Views?  
  > **username_2**: And/or see this - https://www.drupal.org/project/views_conditional  
  
  ---
  
  ## 0 answers
  
  