yu169409
10-22-2003, 08:36 AM
hi
i have a Date object in javascript, in a for loop, i need to increment the date by 1 day and do some condition checking, for example, the date object was initialized to Oct 1, 2003, for each loop, the date becomes Oct 2 2003, Oct 3, 2003 adn so on. how do i do the increment on Date object? just Date+1? thanks
i have a Date object in javascript, in a for loop, i need to increment the date by 1 day and do some condition checking, for example, the date object was initialized to Oct 1, 2003, for each loop, the date becomes Oct 2 2003, Oct 3, 2003 adn so on. how do i do the increment on Date object? just Date+1? thanks