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...
In reply to Re: date and time
by fokat
in thread date and time
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |