Arrow

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

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


 






Minimum search word length is 4 characters – Maximum search word length is 84 characters
Wildcard Usage:
*  matches any number of characters    %  matches exactly one character

Time isn't right :(

Reply to Post Add a New Topic
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 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 :)

Reply to Post

Reply to Topic:
Time isn't right :(

Guest Name (Required):

Guest Email (Required):

HTML Editor
Smileys
Confused Cool Cry Embarassed Frown Kiss Laugh Smile Surprised Wink Yell
Post New Reply

Guest URL (required)

Math Required!
What is the sum of:
8 + 10