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 loshean on
I have an event with that starts 11:00 and end 13:00. Iam using Date api module as well.
What i want is to make a filter in view to only show the event when the time is between 11:00 and 13:00 using Relative Formats.
I've been trying to figure it out for like 2 hours.
Anyone have some suggestions?
Comments
Any code?
Do you have any code you can show?
solved it.
It was simple as using "now"
Great :-)
Thanks for sharing. Glad you got it working.
Reason why i didnt thought
Reason why i didnt thought about 'now' was because according to this documentation Now - this is simply ignored which i didnt know what ment.