summaryrefslogtreecommitdiffstats
path: root/user_guide_src/source/helpers/date_helper.rst
diff options
context:
space:
mode:
authorIban Eguia <admin@razican.com>2012-06-13 22:57:50 +0200
committerIban Eguia <admin@razican.com>2012-06-13 22:57:50 +0200
commit7400965017f87c3aba18bf75ed7d732359fd577d (patch)
tree1fc8c4f0b3fd2d25c773bccf946286c68783b38c /user_guide_src/source/helpers/date_helper.rst
parentfeb14dac4e7a417a48344a5188a8ad8074871df4 (diff)
Fixed some stuff in documentation.
Diffstat (limited to 'user_guide_src/source/helpers/date_helper.rst')
-rw-r--r--user_guide_src/source/helpers/date_helper.rst9
1 files changed, 6 insertions, 3 deletions
diff --git a/user_guide_src/source/helpers/date_helper.rst b/user_guide_src/source/helpers/date_helper.rst
index 7bbfd4f15..1b7177fc2 100644
--- a/user_guide_src/source/helpers/date_helper.rst
+++ b/user_guide_src/source/helpers/date_helper.rst
@@ -20,9 +20,12 @@ The following functions are available:
now()
=====
-Returns the current time as a Unix timestamp, based on the "timezone" parameter.
-All PHP available timezones are supported. You can also use 'local' timezone, and
-it will return time().
+Returns the current time as a Unix timestamp, referenced either to your
+server's local time or any PHP suported timezone, based on the "time reference"
+setting in your config file. If you do not intend to set your master time reference
+to any other PHP suported timezone (which you'll typically do if you run a site that
+lets each user set their own timezone settings) there is no benefit to using this
+function over PHP's time() function.
.. php:method:: now($timezone = NULL)