php time function bug, does anyone know how to solve it?
Posted: Mon Jan 14, 2008 11:24 pm
Just meet a very odd time() problem.
Service time is: 'Mon Jan 14 22:47:15 CST 2008', I get this string by executing date in shell.
but php function date('Y-m-d H:i:s') returns '2008-01-15 10:47:15'.
My php version is 4.3.2. Do you have any clue what cause this?
Service time is: 'Mon Jan 14 22:47:15 CST 2008', I get this string by executing date in shell.
but php function date('Y-m-d H:i:s') returns '2008-01-15 10:47:15'.
My php version is 4.3.2. Do you have any clue what cause this?