that 1% always comes back to hunt ya.
It works better but i still get 2004-10-31 twice
so the output looks like this.
19: 2004-10-29
20: 2004-10-30
21: 2004-10-31
22: 2004-10-31
23: 2004-11-01
24: 2004-11-02
25: 2004-11-03
Im outputting $i: $newdate so something is definitely weird. btw. if i use date_add_gm it solves the problem.
Any idea what the difference is between date_add and date_add_gm is?
hagai
It works better but i still get 2004-10-31 twice
so the output looks like this.
19: 2004-10-29
20: 2004-10-30
21: 2004-10-31
22: 2004-10-31
23: 2004-11-01
24: 2004-11-02
25: 2004-11-03
Im outputting $i: $newdate so something is definitely weird. btw. if i use date_add_gm it solves the problem.
Any idea what the difference is between date_add and date_add_gm is?
hagai