Your "use" statement caused localtime() to return OBJECTS, instead of an array, which caused the errors you posted.
The previous monks answer is right on - you don't need the "use" statement.
In reply to Re: Getting Today's Date - Strange Problem
by NetWallah
in thread Getting Today's Date - Strange Problem
by svsingh
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |