Dori Posted December 12, 2013 Group: Members Topic Count: 105 Topics Per Day: 0.02 Content Count: 332 Reputation: 15 Joined: 12/11/11 Last Seen: August 8, 2017 Share Posted December 12, 2013 I have edited everything and anything with "Timezone" and I still can't get the time in my website correct. I have looked everywhere and found no help. Please tell me how to change my timezone in my website? Link to comment Share on other sites More sharing options...
Dori Posted December 12, 2013 Group: Members Topic Count: 105 Topics Per Day: 0.02 Content Count: 332 Reputation: 15 Joined: 12/11/11 Last Seen: August 8, 2017 Author Share Posted December 12, 2013 (edited) Oh.. i actually had no idea this config even existed @.@ 'DateDefaultTimezone' => null, // The default timezone, consult the PHP manual for valid timezones: http://php.net/timezones (null for defaut system TZ) Change your index.php back to how it was and set the default timezone in config/application.php instead. I did do that. I have the time zone set in application.php and also in server.php, but still it doesn't change the time Edit: Solved. Edited December 13, 2013 by Phenex 1 Link to comment Share on other sites More sharing options...
0 pr3p Posted December 13, 2013 Group: Members Topic Count: 4 Topics Per Day: 0.00 Content Count: 197 Reputation: 13 Joined: 05/14/12 Last Seen: October 29, 2024 Share Posted December 13, 2013 ^^ congrats anyway sorry for the late reply on skype too busy Link to comment Share on other sites More sharing options...
Dori Posted December 12, 2013 Group: Members Topic Count: 105 Topics Per Day: 0.02 Content Count: 332 Reputation: 15 Joined: 12/11/11 Last Seen: August 8, 2017 Author Share Posted December 12, 2013 date.timezone config in my php.ini is already set. in index.php all i found was this: // Set default timezone for entire app. $timezone = Flux::config('DateDefaultTimezone'); if ($timezone && !@date_default_timezone_set($timezone)) { throw new Flux_Error("'$timezone' is not a valid timezone. Consult http://php.net/timezones for a list of valid timezones."); I put my time zone where it says 'DateDefaultTimezone' and nothing really worked. Link to comment Share on other sites More sharing options...
Question
Dori
I have edited everything and anything with "Timezone" and I still can't get the time in my website correct. I have looked everywhere and found no help. Please tell me how to change my timezone in my website?
Link to comment
Share on other sites
3 answers to this question
Recommended Posts