I am using the Date Repeat Entity module for generating a checklist for users. I am able to use Views to display the list in chronological order for tasks relevant for the current user using a Contextual Filter. Could I also use a Contextual Filter to only show the current nodes that have a date equal to the current date?

I would think this could be done by entering some PHP code as shown here: enter image description here

  • Instead of using contextual filter, have you tried using/adding regular FILTER (under FIELDS) ?
    – No Sssweat
    Jan 11, 2016 at 6:20
  • I'm not sure how a regular filter will be able to grab the current day.
    – KyleRiggen
    Jan 11, 2016 at 6:57

1 Answer 1


I'm not sure how a regular filter will be able to grab the current day

Add your date field to the filter.

You will then see this screen

enter image description here

Click apply and continue

enter image description here

Click on select a date, and select relative date

enter image description here

Put today as your relative date.

  • I have no idea where you got that first screen. I have never seen it before. This is now my date filter looks: Imgur. Are you running an additional module? My data type is just a date. Anyway I got the Contextual Filter to work with this code: Imgur. I am just testing it now with various formats. I am really curious though about how you got this screen: i.stack.imgur.com/5qILi.jpg
    – KyleRiggen
    Jan 11, 2016 at 7:58
  • @KyleRiggen hummm, you have Date Views module enabled?
    – No Sssweat
    Jan 11, 2016 at 8:41
  • 1
    ah yes that was it. Enabling Date Views gave me the extra screen and your filter works! Thank you!
    – KyleRiggen
    Jan 11, 2016 at 8:44

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.