Arrow

Time isn't right :( | Peter's Date Countdown | Forum

Back to the date countdown plugin page

Please consider registering
guest

Log In

Lost password?
Advanced Search

— Forum Scope —

  

— Match —

   

— Forum Options —

   

Minimum search word length is 4 characters - maximum search word length is 84 characters

Topic RSS
Time isn't right :(
March 2, 2009
6:20 am
Kijac
Guest

Hello!
I made a coundown for my daughter. Her flight in the USA goes at 07.25am and at this moment that are 19 hours until than. But the countdown shows me that it will be 18 hours.
Do you know what I mean? What runs wrong? Can you help me? Thanks!

Kijac

March 2, 2009
10:50 am
Peter
Admin
Forum Posts: 841
Offline

Hi Kijac,

Did you set the proper timezone offset (relative to your server) in the $timediff setting near the top of the plugin file?

March 2, 2009
1:33 pm
Kijac
Guest

Ähhmmmm, I don't think so :(. What should I do and where? Please tell me! Thanks!

Kijac

March 2, 2009
1:38 pm
Peter
Admin
Forum Posts: 841
Offline

Hi, if you edit the plugin file itself (datecountdown.php), you'll see this setting:

// Change this if you want to add or subtract hours from your server time
$timediff = 0;

Change the value of that as necessary. For example, if your server time is EST and you want the times to be PST, you would enter -3.

March 2, 2009
2:54 pm
Kijac
Guest

Ok, I found it. But I have to write -1.
I can't understand that :(. We are in germany and normally we have to write +1 .....

But okay, now it's right. Thanks!

Kijac

March 2, 2009
4:12 pm
Peter
Admin
Forum Posts: 841
Offline

Hi, the reason for that is that the setting is relative to your server's time, not relative to UTC :)