summaryrefslogtreecommitdiffstats
path: root/user_guide/helpers
diff options
context:
space:
mode:
authorDerek Allard <derek.allard@ellislab.com>2007-08-14 13:41:16 +0200
committerDerek Allard <derek.allard@ellislab.com>2007-08-14 13:41:16 +0200
commitfc40afda438195ec3d6f2a4c61477f7c09ec5e1a (patch)
tree07c4951075e70123162c4ef38c5128a32342b024 /user_guide/helpers
parent89bf50f992b97772acb4028bbd7c9faf81899148 (diff)
Documented the timezones() function in the Date Helper
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>