Author Topic: Changing Time Zone .  (Read 7457 times)

0 Members and 1 Guest are viewing this topic.

Offline robertx

  • Newbie
  • *
  • Posts: 34
    • View Profile
Changing Time Zone .
« on: November 11, 2008, 11:43:43 AM »
Hello all . I have some problems with my providers . They don't want to change the TIME ZONE :( . I have GMT +02:00 : Bucharest

How to change the Timezone? because it showing me the wrong time.

Could i make that from the script ?

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: Changing Time Zone .
« Reply #1 on: November 11, 2008, 03:50:36 PM »
in includes/constants.php look for:
Code: [Select]
// Time offset for your website. Sometimes usefull if your server is located
// in other timezones.
define('TIME_OFFSET', 0);
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline robertx

  • Newbie
  • *
  • Posts: 34
    • View Profile
Re: Changing Time Zone .
« Reply #2 on: November 11, 2008, 08:40:00 PM »
thanks . for that . it's  working just for profile member .

How i could modify that MOD to show me the correct time : http://www.4homepages.de/forum/index.php?topic=23055.0

this doesn't  working

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: Changing Time Zone .
« Reply #3 on: November 12, 2008, 02:49:53 AM »
It is problem with the mod, it doesn't use 4images function to display the date. You might try ask for support at that topic.
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline Nicky

  • Administrator
  • 4images Guru
  • *****
  • Posts: 3.195
    • View Profile
Re: Changing Time Zone .
« Reply #4 on: November 12, 2008, 09:19:43 AM »
robertx,

try this:
http://www.4homepages.de/forum/index.php?topic=23055.msg127636#msg127636
i added some changes..
for another issues for that mod, add your posts there
cheers
Nicky
Your first three "must do" before you ask a question ! (© by V@no)
- please read the Forum Rules ...
- please study the FAQ ...
- please try to Search for your answer ...

nicky.net 4 4images
Signature stolen from mawenzi

Offline robertx

  • Newbie
  • *
  • Posts: 34
    • View Profile
Re: Changing Time Zone .
« Reply #5 on: November 13, 2008, 11:25:28 AM »
Thanks a lot Guys . It s working   :)

Offline d1eter

  • Newbie
  • *
  • Posts: 42
    • View Profile
Re: Changing Time Zone .
« Reply #6 on: February 04, 2010, 03:33:42 AM »
Hello...,

I changed the value in constants.php as to my timezone which is +7 GMT
what is the correct syntax?

currently it's as below:
define('TIME_OFFSET', '+7');

I've tried only '7'  or just 7 
but the uploaded image or comment still does not display the correct (current) time.

please help.
thank you.

Rembrandt

  • Guest
Re: Changing Time Zone .
« Reply #7 on: February 04, 2010, 05:53:31 AM »
...
what is the correct syntax?....
Code: [Select]
define('TIME_OFFSET', 7);

Offline d1eter

  • Newbie
  • *
  • Posts: 42
    • View Profile
Re: Changing Time Zone .
« Reply #8 on: February 04, 2010, 06:45:57 AM »
...
what is the correct syntax?....
Code: [Select]
define('TIME_OFFSET', 7);

I made the change.., and uploaded an image.
the display time didn't show correctly, it's the correct hour but in the wrong timezone.

is it like that by design?
what if I want to display the time in my timezone?

thank you!