Views Filter Criteria "Now" not working on webform submitted data field:event date The closest I have found to this is This Question which sounded perfect but didnt work for me.

I need to show a list of results in my view equal to or greater than todays date. In the past, on a value formatted as a date, I use "now" and it works a treat.

I have built a view using webform submission data from the latest webform release, which enters a date field as plain text into the database rather than timestamp. So i have the raw value 2014-05-08 from the database.

I can test it by entering the date into the filter value as "2014-05-08" and it works perfectly, but of course I need todays date to update automatically.

I have tried using token filter to use a current date token, for a custom date type I created ('Y-m-d'), but nothing happens.

I have also installed views-php module, which hides a row if value returns true, but the following test didn't work

$date = date('Y-m-d');  
if ($row&gt;value_1 == $date) {
return TRUE;
}


Is there any way to use tokens in the Configure filter criterion: value field?

EDIT:

There was a bug in the views-php module that this patch fixes.

I used a Global:php field to convert my text to date, but my next hurdle is that you cant use an exposed filter to filter results from a global:php field.

$eventdate = strtotime($row-&gt;value_1);
echo date('Y-m-d', $eventdate);
I don't really understand the problem. When a date isn't a date anymore and you can use php you can just convert it back to a date.

You even almost use the correct function.

$submittedDate = $row&gt;value_1;

$Cdate = date('Y-m-d');
$Sdate = date_format(date_create($submittedDate), 'Y-m-d');

if ($Sdate == $Cdate) {
    return TRUE;
}


Shouldn't that do the trick?