From 4ab19521df08026a2e854724b2ebf41f7cc08be6 Mon Sep 17 00:00:00 2001 From: Jakub Vrana Date: Fri, 17 Sep 2004 12:24:34 +0000 Subject: [PATCH] Warn before DST (bug #26793) git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@168714 c90b9560-bf6c-de11-be94-00142212c4b1 --- reference/datetime/reference.xml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/reference/datetime/reference.xml b/reference/datetime/reference.xml index 0915369ed6..650793273d 100644 --- a/reference/datetime/reference.xml +++ b/reference/datetime/reference.xml @@ -1,5 +1,5 @@ - + Date and Time Functions Date/Time @@ -15,7 +15,10 @@ 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. + $date = strtotime('+7 days', $date) and not + $date += 7*24*60*60) + and leap years into consideration when working with these functions.