You are here: Re: Strange date increment problem « All PHP « IT news, forums, messages
Re: Strange date increment problem

Posted by J.O. Aho on 11/08/07 19:39

Reg143 wrote:
> Hi all,
>
> The code below loops from a starting date, incrementing the date and
> displaying date and day-of-week. Everything is fine until 2007-11-04 is
> reached. Any help would be appreciated.
> // This code works until the date hits 2007-11-04, it
> // never gets past 11/4. Run it starting with the
> // different dates below. What gives?

Did run your script

Thursday 2007-11-01<br />Friday 2007-11-02<br />Saturday 2007-11-03<br
/>Sunday 2007-11-04<br />Monday 2007-11-05<br />Tuesday 2007-11-06<br
/>Wednesday 2007-11-07<br />

Seems there may be something wrong with your FPU ;)

--

//Aho

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация