You have to use timegm_nocheck, not timegm. The latter can handle month -1, for example.
In reply to Re^2: Getting yesterday's date, and random dates in the past
by ikegami
in thread Getting yesterday's date, and random dates in the past
by mhearse
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |