That will break for time zones that use daylight savings time. On the days where the clock is set back an hour, you will not be subtracting enough from time() to make that work. Better to use Date::Calc, as suggested elsewhere in this thread.
In reply to Re: Re: Calculating 1-day-before
by ehdonhon
in thread Calculating 1-day-before
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |