Hiding Field(s) if Date is Expired
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()