summaryrefslogtreecommitdiffstats
path: root/user_guide/helpers/date_helper.html
diff options
context:
space:
mode:
Diffstat (limited to 'user_guide/helpers/date_helper.html')
-rw-r--r--user_guide/helpers/date_helper.html4
1 files changed, 2 insertions, 2 deletions
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);</code>
<code>1 Year, 10 Months, 2 Weeks, 5 Days, 10 Hours, 16 Minutes</code>
<p>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:</p>
<code>$post_date = '1079621429';<br />
@@ -267,7 +267,7 @@ echo timespan($post_date, $now);</code>
<p>This menu is useful if you run a membership site in which your users are allowed to set their local timezone value.</p>
-<p>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:</p>
+<p>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:</p>
<code>echo timezone_menu('UM8');</code>