User Post
6:20 am March 2, 2009
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
10:50 am March 2, 2009
Peter
Admin
posts 710
Hi Kijac,
Did you set the proper timezone offset (relative to your server) in the $timediff setting near the top of the plugin file?
1:33 pm March 2, 2009
Kijac
Guest
Ähhmmmm, I don't think so :(. What should I do and where? Please tell me! Thanks!
Kijac
1:38 pm March 2, 2009
Peter
Admin
posts 710
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.
2:54 pm March 2, 2009
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
4:12 pm March 2, 2009
Peter
Admin
posts 710
Hi, the reason for that is that the setting is relative to your server's time, not relative to UTC :)