Home N-13 News Forums Help Search
RegisterForgot password?
How to add image to post necklacesdiscou
Known bugs - 4.0.3 necklacesdiscou

Latest N-13 News 4.0.3

What is N-13 News?
Where can I get help?
Known bugs

Forums How To How do i change timezone?
Pontus81
Posted on 18 Jun 2012, 12:29:20

Access: Member
Total Posts: 3
Joined: 2012-03-31

Hi, how do i change timezone so the timestamp on the news gets rigth. I have laid in the correct timezone in php.ini but still the timestamp on my news i 2 hours to early. //Pontus

#3889
Last edited by Pontus81 at 2012-06-18 19:47:16 Reason: Want email notification.
Chris
Posted on 18 Jun 2012, 19:47:16

Access: Admin
Total Posts: 1395
Joined: 2006-05-19

See config.php, around line 48~

// Check if the default timezone has been set, if not set it to UTC
// For a list of supported timezones see here - http://www.php.net/manual/en/timezones.php
// To set your own timezone comment out this code and use this example
// date_default_timezone_set('Europe/London'); 
if(function_exists("date_default_timezone_get")){
    if(!date_default_timezone_get()){
        date_default_timezone_set('UTC');
    }
}
#3890
Network-13.com © 2013