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
[Back to original message]
|