--- views/includes/handlers.inc	Thu Mar 24 05:06:47 2011
+++ views/includes/handlers.inc	Thu Mar 24 15:30:31 2011
@@ -1089,11 +1089,9 @@
   $db_type = db_driver();
   $offset = $set_offset !== NULL ? $set_offset : views_get_timezone();
   if (isset($offset) && !is_numeric($offset)) {
-    $tz = date_default_timezone_get();
-    $current = time('Z');
-    date_default_timezone_set($offset);
-    $offset_seconds = $current - time('Z');
-    date_default_timezone_set($tz);
+    $dtz = new DateTimeZone($offset);
+    $dt = new DateTime("now", $dtz);
+    $offset_seconds = $dtz->getOffset($dt);	
   }
 
   switch ($db_type) {
