Since I started working with the date() function today, I've noticed it was acting funky. It could be my server, so someone please check this to see if I'm crazy...
time() returns the correct UNIX time, in seconds. However using the date() function, the values returned correspond to time() - (60603). In other words, the date() function returns values for the current time minus exactly 3 hours.
I know the UNIX time is correct because I fed it into a piece of ActionScript code that formats and displays the current server time (based on UNIX time). The ActionScript displays the correct server time and date, without the 3 hour offset.
So, with php.net being offline, it got me around to thinking. Could this be an effect of nimda, or can it not affect PHP (running on a UNIX server)? The information I have leads me to believe the failure happens in the function call. Any opinions?