Re: odd behavior of localtime

2002-07-26 Thread Jonathon M. Robison
Without any real testing, may I suggest that the $date in the localtime call be surrounded in parens? Whenever I have dealt with localtime, I have found it to be finicky about that. Probably won't fix your current problem, but can save you headaches later. --Jon R. Dermot Paikkos wrote: Hi

Re: odd behavior of localtime

2002-07-26 Thread darren chamberlain
* Dermot Paikkos [EMAIL PROTECTED] [2002-07-26 09:14]: I tried this as a snippet on its own and it works. I can't figure out why it doesn't with mod_perl. I was a bit unsure of whether $date = time(); should be scalar or an array but neither work. You haven't mentioned how you are calling it.