diff --git a/clock.module b/clock.module
index 66d728b..7e95651 100755
--- a/clock.module
+++ b/clock.module
@@ -272,7 +272,7 @@ function theme_clock($timezone, $date_format, $js) {
     // Pass the needed variables to JavaScript.
     // Create a time string, from which JavaScript can create a date. The time
     // string contains the month name, which needs to be in English.
-    $time = date_format_date(date_now($time_zone), 'custom', 'F j, Y H:i:s', 'en');
+    $time = date_format_date(date_now($timezone), 'custom', 'F j, Y H:i:s', 'en');
     // Get the time zone offset in seconds.
     $offset_seconds = date_format_date(date_now($timezone), 'custom', 'Z');
     // Get Daylight Savings Time information. '1' for yes, '0' for no.
