Re: Bug #766 Updated: The date function is buggy
| From: | Valsecchi Patrick | Date: | Tue, 22 Sep 1998 09:52:16 +0000 |
| Subject: | Re: Bug #766 Updated: The date function is buggy | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-1358@lists.php.net to get a copy of this message | ||
Bug Database wrote:
>
> ID: 766
> Updated by: zeev
> Reported By: patrick@dante.urbanet.ch
> Status: Closed
> Bug Type: Other
> Assigned To:
> Comments:
>
> Welcome to a world where 24*3600 isn't always a day, a
> world with standard time, daylight savings time, and
> times to switch between the two.
>
> Full Bug description available at:
> http://ca.php.net/bugs.php3?id=766
OK, 24*3600 is not *exactly* a day, but adding 24*3600 second must NOT
give a smaller date!
909266400=>25/10/1998 12/00/00
909352800=>25/10/1998 11/00/00
24 hour later isn't the same date one hour before! Even in the world of
DST. If I am right, the output must be:
909266400=>25/10/1998 12/00/00
909352800=>26/10/1998 11/00/00
=
If not, please explain me why.
Best regards.
--
-°) Patrick Valsecchi
/\\
_\_v http://dante.urbanet.ch/~patrick/index.html
--
PHP Development Mailing List http://www.php.net/
To unsubscribe send an empty message to php-dev-unsubscribe@lists.php.net
For help: php-dev-help@lists.php.net