One server converts epoch time incorrectly
Posted on 2013-01-18
We are having a VERY strange problem. One of our linux servers is converting epoch time into date incorrectly. It keeps being one day out.
For instance, 1364508000 converts correctly to 29 March 2013 on all of our servers, which is correct and is good Friday, but on our ONE server it converts to 28 March 2013. This is happening with all epoch stamps. It keeps converting to a day early. We are an office full of PHP developers and we are all stumped. I'm sure that this is problem on the linux server, but our linux administrator is being a little bitch, so now we have to try and fix it ourselves. ANY advice would be greatly appreciated.
Thank you in advance,
The entire Intoweb Team