How to create Views argument 'field_my_date_field >= today()'?
mattyoung - September 15, 2008 - 00:35
I created a content type 'event' with an 'event_date' date field. I want to make a block to display "Up Coming Events" so this list should only display items with a future date. But I couldn't figure out how to create a Views argument to query 'event_date >= today()'. Is there anyway to do this? I think I need to use the PHP Code option for the "Default argument type"?

I think I accomplished this
I think I accomplished this using the view daterange module http://drupal.org/project/daterange
EDIT: check that. I don't think there is a drupal 6 version of this module. Sorry.
Scott
In Drupal 5 you added a
In Drupal 5 you added a filter for the date field and compared it to now (the help text had the details). I am guessing it is similiar for Drupal 6.
That works!
Thanks!
same problem
hi matt, any luck on getting the argument to work... I need to create the same type of table to display upcoming events only...