--- announcements.module.orig 2008-10-03 16:52:43.000000000 -0700 +++ announcements.module 2008-10-05 12:50:15.000000000 -0700 @@ -754,8 +778,8 @@ $month = $drupal_date["month"]; $day = $drupal_date["day"]; - // Making the hour 12 helps prevent the date from adjusting due to GMT offset. - return mktime(12, 0, 0, (int)$month, (int)$day, (int)$year); + // compute time in UTC since time() returns UTC. + return gmmktime(0, 0, 0, (int)$month, (int)$day, (int)$year); } function _announcements_unixtime2drupaldate($unixtime) {