vrana Fri Sep 17 08:24:34 2004 EDT
Modified files:
/phpdoc/en/reference/datetime reference.xml
Log:
Warn before DST (bug #26793)
http://cvs.php.net/diff.php/phpdoc/en/reference/datetime/reference.xml?r1=1.6&r2=1.7&ty=u
Index: phpdoc/en/reference/datetime/reference.xml
diff -u phpdoc/en/reference/datetime/reference.xml:1.6
phpdoc/en/reference/datetime/reference.xml:1.7
--- phpdoc/en/reference/datetime/reference.xml:1.6 Tue Feb 24 03:45:29 2004
+++ phpdoc/en/reference/datetime/reference.xml Fri Sep 17 08:24:34 2004
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.6 $ -->
+<!-- $Revision: 1.7 $ -->
<reference id="ref.datetime">
<title>Date and Time Functions</title>
<titleabbrev>Date/Time</titleabbrev>
@@ -15,7 +15,10 @@
<simpara>
Please keep in mind that these functions are dependent on
the locale settings of your server. Make sure to take
- daylight saving time and leap years into consideration when working
+ daylight saving time (use e.g.
+ <literal>$date = strtotime('+7 days', $date)</literal> and not
+ <literal>$date += 7*24*60*60</literal>)
+ and leap years into consideration when working
with these functions.
</simpara>
</note>