Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
By chateaumaster on
Hi,
I'm trying to get my head around a Views setting, I can't find how to exclude older than two years old content from Views. I know it has to be somewhere in the Filter section. I would expect this to work, but it doesn't...
Content: Date (field_publication_date) - From date <= now + 2 year
I'm doing something wrong, can someone please help me out?
Thanks a lot!
Comments
Solution found
Thanks to Drupalist from drupal.stackexchange.com here is the solution:
Content: Date (field_publication_date) - From date >= - 2 years