
September 3rd, 2009, 06:57 PM
|
|
Me
|
|
Join Date: Apr 2007
Location: Seattle, WA
Posts: 1,937

Time spent in forums: 1 Week 5 Days 1 h 54 m 18 sec
Reputation Power: 4
|
|
|
feb 28, 2010. the other way you are counting backwards. And I'm having trouble with the blackout days. the easiest would be to have you just enter a product id of something like 'blackout' (or really any unique id) for any days you don't want a checkbox on. the problem is mostly that it counts days since start date and uses that number to look up the key for the product id array. problem with using a blackout date array is trying to skip a date when doing that calculation. Adding the 'blackout' product id for any day is like a 3 lines of code fix.
|