I've never had this problem before until I moved over seas. I'm responsible for a system, which is heavily dependent on Timestamps, that's currently running in Texas, which is Central Time (GMT -6:00). In order to keep my work local, I built a duplicate of the server in the U.S. here in Amman, Jordan. During installation, I set it up to Amman Time (GMT +2:00). Everything works exactly like it should except for time stamps.
If I run this line of code from both servers, I get two different results:
echo date("m/d/Y g:i A",0);
In Jordan it's: 01/01/1970 2:00 AM
In Texas it's: 12/31/1969 6:00 PM
I understand the problem with the GMT offset and I changed the Time Zone and the time of the Jordanian Server to the Texas Server and it still does the same thing. There is a setting somewhere I'm missing and I would like to solve this problem without re-installing Linux. Does any one out there know what I'm talking about?
Thanks in advance.
Rubric