A large application that operates correctly on our development server has been doing screwy things with timestamps when published to our live server.
To eliminate all other possibilities, I wrote a one line test script:
[INDENT]echo (date('g:i:s a', '1124845200'));[/INDENT]
(BTW - The timestamp should be August 23, 2005 @ 6:00pm)
On our development server, and several desktops we've tried, the line of code properly executes, and displays:
[INDENT]6:00:00 pm[/INDENT]
However, on the live server, the output is:
[INDENT]5:59:38 pm[/INDENT]
It's correct here under several versions of PHP 4.3.x & on V5.x.
The live (troublesome) server is PHP 4.3.11
Thanks in advance for any suggestions!!