in reply to date and time
Never assume that the year is a number between 0 and 99. To obtain the current year, you simply add 1900 to the value returned by timelocal(...). For today, this means that $year will be 101.
I've had to fix a number of bugs in other people's code because of this...
|
|---|