Arrow


Forum : Time isn't right :(

Back to the date countdown plugin page
Current User: Guest
Search 
Search Forums:


 




Time isn’t right :(

Add a New Topic Reply to Post
UserPost

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 518

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 518

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 518

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

Add a New Topic Reply to Post


Reply to Topic: Time isn’t right :(

Guest Name (Required):

Guest EMail (Required):

Guest URL (required)

Math Required!
What is the sum of: 4 + 10        (Required)

Topic Reply:


 
© Simple:Press Forum – Version 3.1.4 (Build 357)