>>  Site Map >>  Forums >>  Post Installation Help

Forum module - topics in forum:



Post Installation Help - Help with problems after installation.



Time problems....Please help :)

Ok, I have been running my site for about a month now, you can view it at eeguild.cjb.net (brings you to a redirect so there is no url cloaking). anyway, I recentley had a request to change the time in the forums.... I noticed that all the times (when i changed the GMT time) were an hour off...IE:

I set it to GMT -5, it showed up an hour lower then it should be....

Forums showed it was 9:00 PM when set to gmt -5 when it was actually 10:00 PM gmt -5

Then i noticed also that times on Main page, including scrolling forum block were all set to EDT... Not sure whats up with this, any way to change it to GMT?...

Thanks!






Although the block is polling from the forums it's pulling it's time from the nuke itself which means EDT....

Heres something you can try maybe it helps

Modify the function formatTimestamp() in mainfile.php, the element $datetime[4] is the hours. Knowing that you can add or substract accordingly.

Example.
Code: :
$datetime = strftime(""._DATESTRING."", mktime($datetime[4]-7,$datetime[5],$datetime[6],$datetime[2],$datetime[3],$datetime[1]));


Here, 7 hours are substracted from the local server time.




Attention! You are currently viewing sitemap page!
We strongly suggest to look at original content

Search from web

Valid HTML 4.01 Valid CSS