Click to See Complete Forum and Search --> : Departure Date Not Incrementing


udeleng
10-09-2003, 10:27 AM
Hello

I have a page containing arrival and departure date controls:

http://www.geocities.com/udeleng/calendartest.htm

The problem is when I increment the nights listbox (the one on the second row) from 17 to 18. The departure day doesn't increment.

I put a popup showing the departure date. Notice that as you change nights litbox up until 17 you get the date something like "Sat Oct 25 00:00:00 EST 2003", but when you go to 18 the popup show "Sun Oct 26 23:00:00 EST 2003", notice that the hour has gone to 23:00:00 not 00:00:00. I'm not sure what this means.

If you increase the arrival date from Oct 9 to sometime closer to Oct 26, the nights lisbox problems changes to a different value in between those dates.

I someone can explain what's up with this.

Thanks.

AdamGundry
10-09-2003, 11:21 AM
Have you corrected the problem? It seems to work fine in Mozilla 1.4/Win98.

Adam

udeleng
10-09-2003, 11:41 AM
I didn't fix it...

I'm using IE6 SP1

AdamGundry
10-09-2003, 11:52 AM
Sorry, my mistake. I have to go now, but I'll have another look later and see if I can spot the problem. It may be something to do with multiplying by too small a value?

Adam