summaryrefslogtreecommitdiffstats
path: root/user_guide/helpers
diff options
context:
space:
mode:
Diffstat (limited to 'user_guide/helpers')
-rw-r--r--user_guide/helpers/date_helper.html8
1 files changed, 4 insertions, 4 deletions
diff --git a/user_guide/helpers/date_helper.html b/user_guide/helpers/date_helper.html
index d703801a0..2353ff848 100644
--- a/user_guide/helpers/date_helper.html
+++ b/user_guide/helpers/date_helper.html
@@ -223,11 +223,11 @@ echo timespan($post_date, $now);</code>
<code>echo days_in_month(06, 2005);</code>
<p>If the second parameter is empty, the current year will be used.</p>
-
-
-
+<h2>timezones()</h2>
+<p> Takes a timezone reference (for a list of valid timezones, see the &quot;Timezone Reference&quot; below) and returns the number of hours offset from UTC.</p>
+<p><code>echo timezones('UM5');</code></p>
+<p>This function is useful when used with timezone_menu(). </p>
<h2>timezone_menu()</h2>
-
<p>Generates a pull-down menu of timezones, like this one:</p>
<form>