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

CatsFromStonehenge’s picture

Do you have any code you can show?

loshean’s picture

It was simple as using "now"

CatsFromStonehenge’s picture

Thanks for sharing. Glad you got it working.

loshean’s picture

Reason why i didnt thought about 'now' was because according to this documentation Now - this is simply ignored which i didnt know what ment.