How do I set default timezone in cakephp?

cakephp, timezone

Solution

In the `config/core.php` file of the app folder try the following with single quotes:

date_default_timezone_set('Australia/Melbourne');

Problem

So I have a system that is mostly finished, just ironing out some final bugs. We have an issue that the program seems to be permanently set in the New York timezone. I have this line of code in both core.php and bootstrap.php: ``` date_default_timezone_set("Australia/Melbourne"); ``` But the system keeps reporting that it is in America/NewYork. Can anyone help me set the timezone to Australia Melbourne?

Original source