Views filter of date - complicated relative format Looking for some suggestions on how to best accomplish this. We want to set up a filter on a date field to display just content with a date within the current (or next or previous) academic year, defined as May 1-April 30.

Using the great Views between dates filter (https://www.drupal.org/project/views_between_dates_filter) we can do the filter, but the exact relative format string elludes us, and quite likely can't be achieved without writing some code.

What we have so far is a start set to "first day of may" and end set to "last day of april +1 year", but of course as soon as we hit January 1st that blows up.

Can anyone recommend a different approach or even better module that makes this happen?
There's no need for views_between_dates_filter for this use-case.  You might consider turning on the date_views module because it provides some niceties, but if you're using core date properties (like Post Date or Updated Date) then you don't even need that.  Just add 2 filters to your view:


One set to only show content where the date field is greater than or
equal to your specific desired start date (2015-05-01 00:00:00 for
instance) 
One set to only show content where the date field is less
than or equal to your specific desired end date (2016-04-30 23:59:59 for
instance).


You don't need relative dates at all since you're setting up distinct views for each year.