I have a PHP app where I have to schedule people for X number of weeks at a time. I simply take my UNIX timestamp and increment it by 604800 for each week I need to schedule, which works great with one exception...
The TIME in the timestamp changes when I hit April for Daylight Savings time. So if somebody works 8-4 every Monday, suddenly that becomes 9-5 according to the timestamps I'm looking at.
So now instead of simply being able to increment a timestamp by 604800 each time through a FOR loop, I have to do something else. I just don't know what that something else is, it has got to be easy, right?
Any suggestions would be appreciated! Thanks in advance...
The TIME in the timestamp changes when I hit April for Daylight Savings time. So if somebody works 8-4 every Monday, suddenly that becomes 9-5 according to the timestamps I'm looking at.
So now instead of simply being able to increment a timestamp by 604800 each time through a FOR loop, I have to do something else. I just don't know what that something else is, it has got to be easy, right?
Any suggestions would be appreciated! Thanks in advance...