Fix for Fix for Fix for Fix for Incorrect Date due to timezone.

  1. // The following code produces correct results.
  2.    //$datestamp = strtotime($event_ref->field_event_date[0]['value']);
  3.    //$date = format_date($datestamp, 'custom','D d F Y');
  4.    $date = date("D d F Y", strtotime($event_ref->field_event_date[0]['value']));

Submit Fix

Any tags you'd like to associate with your code, delimitered by commas (example: Views, CCK, Module, etc).
Select the syntax highlighting mode to use.