Navigation Menu

Skip to content
This repository has been archived by the owner on Mar 30, 2018. It is now read-only.

Commit

Permalink
Add warning about date types assuming default timezone.
Browse files Browse the repository at this point in the history
  • Loading branch information
beberlei committed Feb 26, 2011
1 parent 63918e2 commit 9564b6b
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions en/reference/types.rst
Expand Up @@ -42,6 +42,14 @@ instances is abstracted through a static get method
for details about the different handling of microseconds and
timezones across all the different vendors.

.. warning::

All Date types assume that you are exclusively using the default timezone
set by `date_default_timezone_set() <http://docs.php.net/manual/en/function.date-default-timezone-set.php>`_
or by the php.ini configuration ``date.timezone``.

If you need specific timezone handling you have to handle this
in your domain, converting all the values back and forth from UTC.

Detection of Database Types
---------------------------
Expand Down

0 comments on commit 9564b6b

Please sign in to comment.