Hiding Field(s) if Date is Expired I'm using Drupal 7 date field. Using views, when the date has expired, the page goes to a section labeled 'past events.' In the template page, the date and time are both separated for instance. $date_output and $time_output. I need to hide the time field after the date has expired. any ideas?
If your date is in one of the supported date/time formats, you can use strtotime() and date() to compare.  Wrap the printing of $time_output in an if statement.  For example:

if ( strtotime($date_output) &gt; date() ) {
  // $date_output is greater than now, eg, not expired
  print($time_output);
} 


If $date_output is already a timestamp, no need to use strtotime()