added local time output
[e-DoKo.git] / functions.php
index 49e0a1d21aade548bee7f718417e840bcfc50880..ce4851309f0da48a13e44446109dbd6c96d96799 100644 (file)
@@ -431,4 +431,18 @@ function display_cards($me,$myturn)
   return;
 }
 
   return;
 }
 
+function return_timezone($offset)
+{
+  switch($offset)
+    {
+    case '1':
+      $zone = "Europe/Berlin";
+      break;
+    default:
+      $zone = "Europe/London";
+    }
+  
+  return $zone;
+}
+
 ?>
\ No newline at end of file
 ?>
\ No newline at end of file