From e7e1dcd452a15abaaa01c03cd1ade564e3a59453 Mon Sep 17 00:00:00 2001 From: admin Date: Sat, 21 Oct 2006 18:04:01 +0000 Subject: --- user_guide/helpers/date_helper.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'user_guide/helpers/date_helper.html') diff --git a/user_guide/helpers/date_helper.html b/user_guide/helpers/date_helper.html index 6c21ee006..f787176a7 100644 --- a/user_guide/helpers/date_helper.html +++ b/user_guide/helpers/date_helper.html @@ -206,7 +206,7 @@ $unix = human_to_unix($human); 1 Year, 10 Months, 2 Weeks, 5 Days, 10 Hours, 16 Minutes

The first parameter must contain a Unix timestamp. The second parameter must contain a -timestamp that is greater that the first timesamp. If the second parameter empty, the current time will be used. The most common purpose +timestamp that is greater that the first timestamp. If the second parameter empty, the current time will be used. The most common purpose for this function is to show how much time has elapsed from some point in time in the past to now. Example:

$post_date = '1079621429';
@@ -267,7 +267,7 @@ echo timespan($post_date, $now);

This menu is useful if you run a membership site in which your users are allowed to set their local timezone value.

-

The first paramater lets you set the "selected" state of the menu. For example, to set Pacific time as the default you will do this:

+

The first parameter lets you set the "selected" state of the menu. For example, to set Pacific time as the default you will do this:

echo timezone_menu('UM8'); -- cgit v1.2.3-24-g4f1b