I'm unable to get my brain to parse the code you have posted. Could you strip out the "playing with data" portions of the code, and just leave in the relavant portions of the date calculations? And post how you were trying to calculate the new time with $i? That should get us on track to be able to help you better.
-Scott
In reply to Re: Avoiding Datecalc
by 5mi11er
in thread Avoiding Datecalc
by Earindil
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |