Tourney: EPIPHANIE Bike polo Week End - Rouen - 2013/01/26-27

Posted on
Page
of 8
Prev
/ 8
Last Next
  • MegaNo.

  • All right boys here's the Registration page:

    http://www.rouenbikepolo.com/?page=registration

    The countdown refers to the server clock (GMT+1) so everybody will be alowed to fill the form at the same time.
    When the countdown is over you can REFRESH (F5) the page and fill the form

  • Sexiste!

  • great logo woods!

  • hey guys, I want to make sure the countdown shows the same thing for you as in france.

    can someone tell what the countdown is showing and what time it is in england at the same moment, thanks :)

  • Shows 1 day 3 hours and 13 minutes right now.

    So would finish at 11 are time.

  • perfect thanks !!

    • on the page, you've got the exemple of what the form will look like so you can't miss it !
  • Sexiste!

    Nop, you're a dude. We all know that jess.

  • clock shows 1day and 8 mins now so would end at 12?

  • Which one of ou is telling the right thing ?

  • Shows 1 day 3 hours and 13 minutes right now.

    So would finish at 11 are time.

    clock shows 1day and 8 mins now so would end at 12?

    which one is right ? We need to know asap.

    At this time (1:47 pm in france, so 12:48 in uk) I have 0 days, 22 hours, 11 minutes left.
    It means it will be on at noon here in France and at 11am in UK. Do you see the same thing ?

  • Lucas posted at 12:00 GMT and countdown apparently shows 1 day left so everything is fine here

  • I get the same as Luca, screen shot from my phone... Add the times together you get 12:

  • OK fuck it. I'll try something. If it doesn't work, I'll delete the countdown and tomorrow, at noon, I'll change the page manually.

  • Yeah, I've still got 1 day, 7 hours left.

    I'm guessing the Javascript you are using is comparing it to local time, not server time (not surprising, as Javascript runs in the client)

  • The jevascript always get the local time. I have to make it with php and javascript. Do you see something different right now . It might be 21 hours and 59 minutes

  • Yeah, sure, you'll need to pass the server time in your php.

    I'm still seeing 1 day, 6 hours, 56 minutes, but it could also be cached, I guess.

  • Woao.. 1 day left oÔ... And the cache is not a probleme in theory. I'll see and keep you posted. Thanks.

  • I'm on Pacific time right now maks, so it is 1 day, 6 hours until midday tomorrow, in case you are confused.

  • thanks :)

    I think I can't use any timezone function on this server. So it will be difficult, but I'm still looking for it.

  • But can't you just return the server time, which will be the same for everyone. Have the php then dynamically create the javascript, inserting the server time as a variable?

  • In script.js, change

    ts = (new Date(2013, 0, 9, 12, 00));

    to

    ts = Date.UTC(2013, 0, 9, 11, 00);

    That should do it. Date.UTC is independent of timezone.

    And you don't really need to get server time, Date.now() just as good as serverTime()! They both return the number of seconds since Jan 1, 1970.

  • Can't people just use Google to check what time "noon in France" is and then refresh appropriately?

  • This what i was doing.

    $now = new DateTime("now");
    echo $now->format("M j, Y H:i:s O")."\n";

    But it doesn't work. It runs local.

    Salman : if I do it, it will start at 11 here in france.

  • Post a reply
    • Bold
    • Italics
    • Link
    • Image
    • List
    • Quote
    • code
    • Preview
About

Tourney: EPIPHANIE Bike polo Week End - Rouen - 2013/01/26-27

Posted by Avatar for Woods @Woods

Actions