From fc40afda438195ec3d6f2a4c61477f7c09ec5e1a Mon Sep 17 00:00:00 2001 From: Derek Allard Date: Tue, 14 Aug 2007 11:41:16 +0000 Subject: Documented the timezones() function in the Date Helper --- user_guide/helpers/date_helper.html | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'user_guide/helpers') 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); echo days_in_month(06, 2005);

If the second parameter is empty, the current year will be used.

- - - +

timezones()

+

Takes a timezone reference (for a list of valid timezones, see the "Timezone Reference" below) and returns the number of hours offset from UTC.

+

echo timezones('UM5');

+

This function is useful when used with timezone_menu().

timezone_menu()

-

Generates a pull-down menu of timezones, like this one:

-- cgit v1.2.3-24-g4f1b