In my CakePHP 2 application I have time errors.
date_default_timezone_set value inside my Config/core.php is Europe/Athens. I used it successfully for months.
But my codes gives wrong time values after the Daylight saving time passed in 28 october 2012.
When I put this inside my controller I get right time and date.
public function dateTimeShow(){
echo "date:".date('Y-m-d')."<br>";
echo "time:".date('H:i:s')."<br>";
}
But the date('H:i:s') value gives normal time-2:00 values.
How can I debug or solve this?
Thank you
Edit: When I print out date_default_timezone_get()
I get result: UTC
When I print out ini_get('date.timezone')
I get results: Europe/Athens (which is right)