note 59894 added to function.date
| From: | martin dot m at hid dot gr | Date: | Mon, 19 Dec 2005 16:25:00 +0000 |
| Subject: | note 59894 added to function.date | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-100417@lists.php.net to get a copy of this message | ||
"It worked ok, except I noticed it had some trouble if you were spanning months, (i.e.
03-29-2005 to 04-10-2005)"
this is the (Daylight Saving Time ) problem. you can check if the start date and the end date are
whether or not in daylights savings time by using
date('I',$your_date) and to add or decrease with one hour.
----
Manual Page -- http://www.php.net/manual/en/function.date.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+59894
Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+59894&report=yes&reason=added+to+the+manual
Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+59894&report=yes&reason=bad+code
Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+59894&report=yes&reason=spam
Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+59894&report=yes&reason=useless
Delete: non-english -- http://master.php.net/manage/user-notes.php?action=delete+59894&report=yes&reason=non-english
Delete: already in docs -- http://master.php.net/manage/user-notes.php?action=delete+59894&report=yes&reason=already+in+docs
Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+59894&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+59894&report=yes
Search -- http://master.php.net/manage/user-notes.php