i have installed cakephp 1.3 which uses the following:
Apache Version :2.2.21
PHP Version : 5.3.8
MySQL Version : 5.5.16.
the Problem is when i echo the following
echo date('l jS \of F Y h:i:s A');
i get the time a few hours back than my local time( the machine time is set to my country time which australia).
when i make a change in php.ini file and set the date.timezone = UTC + 10 i get the correct local time but i also get alot of warnings.
Warning: strtotime() [function.strtotime]: It is not safe to rely on the system's timezone settings. You are required to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Australia/Melbourne' for '10.0/no DST' instead in C:\wamp\www\cakephp\lib\Cake\Cache\Cache.php on line 515
Please help thanks