Results 1 to 14 of 14

Thread: New Release date or Glitch?

  1. #1
    Senior Member phoenixgirl's Avatar
    Join Date
    Apr 2008
    Posts
    1,008

    Question New Release date or Glitch?

    I was told that the countdown for the movie on this site is actually a day earlier then what we know. Turns out they were right. The countdown will end at midnight at the end of June 22 and the start of the 23rd. What is going on? Has the date actually be moved or is it a glitch? Any ideas?
    http://transformerslive.blogspot.com...ate-moved.html

  2. #2
    Administrator sora's Avatar
    Join Date
    Aug 2007
    Posts
    4,170

    Default Re: New Release date or Glitch?

    Oops, my bad. Nelson, replace the script with this. Thank you, phoenixgirl.

    function countdown_clock(year, month, day, hour, minute, format)
    {
    //I chose a div as the container for the timer, but
    //it can be an input tag inside a form, or anything
    //who's displayed content can be changed through
    //client-side scripting.
    html_code = '<div id="countdown"></div>';

    document.write(html_code);

    countdown(year, month, day, hour, minute, format);
    }

    function countdown(year, month, day, hour, minute, format)
    {
    Today = new Date();
    Todays_Year = Today.getFullYear() - 2000;
    Todays_Month = Today.getMonth();

    //Convert both today's date and the target date into miliseconds.
    Todays_Date = (new Date(Todays_Year, Todays_Month, Today.getDate(),
    Today.getHours(), Today.getMinutes(), Today.getSeconds())).getTime();

    Target_Date = (new Date(year, month - 1, day, hour, minute, 00)).getTime();

    //Find their difference, and convert that into seconds.
    Time_Left = Math.round((Target_Date - Todays_Date) / 1000);

    if(Time_Left < 0)
    Time_Left = 0;

    switch(format)
    {
    case 0:
    //The simplest way to display the time left.
    document.getElementById('countdown').innerHTML = Time_Left + ' seconds';
    break;
    case 1:
    //More datailed.
    days = Math.floor(Time_Left / (60 * 60 * 24));
    Time_Left %= (60 * 60 * 24);
    hours = Math.floor(Time_Left / (60 * 60));
    Time_Left %= (60 * 60);
    minutes = Math.floor(Time_Left / 60);
    Time_Left %= 60;
    seconds = Time_Left;

    dps = 's'; hps = 's'; mps = 's'; sps = 's';
    //ps is short for plural suffix.
    if(days == 1) dps ='';
    if(hours == 1) hps ='';
    if(minutes == 1) mps ='';
    if(seconds == 1) sps ='';

    document.getElementById('countdown').innerHTML = days + ' day' + dps + ' ';
    document.getElementById('countdown').innerHTML += hours + ' hour' + hps + ' ';
    document.getElementById('countdown').innerHTML += minutes + ' minute' + mps + ' and
    ';
    document.getElementById('countdown').innerHTML += seconds + ' second' + sps;
    break;
    default:
    document.getElementById('countdown').innerHTML = Time_Left + ' seconds';
    }

    //Recursive call, keeps the clock ticking.
    setTimeout('countdown(' + year + ',' + month + ',' + day + ',' + hour + ',' + minute + ',' + format
    + ');', 1000);
    }

  3. #3
    Senior Member Michael Do's Avatar
    Join Date
    Jan 2008
    Location
    Baltimore, Maryland, United States
    Posts
    1,549

    Default Re: New Release date or Glitch?

    tssk tskk.
    Quote Originally Posted by Someone from IMDB
    Why does Will Smith always play a black man?

    My Blu-ray collection.

  4. #4
    Senior Member Trailbreaker's Avatar
    Join Date
    Feb 2008
    Location
    Upstate New York
    Posts
    10,338

    Default Re: New Release date or Glitch?

    Look at what you started, Sora!

    :lol jkjk
    "The trouble with quotes on the internet is that you can never know if they're genuine." - Abraham Lincoln

  5. #5
    Senior Member phoenixgirl's Avatar
    Join Date
    Apr 2008
    Posts
    1,008

    Default Re: New Release date or Glitch?

    Ok, your welcome Sora.

  6. #6
    Administrator sora's Avatar
    Join Date
    Aug 2007
    Posts
    4,170

    Default Re: New Release date or Glitch?

    Quote Originally Posted by Michael Do View Post
    tssk tskk.
    Quote Originally Posted by Trailbreaker View Post
    Look at what you started, Sora!

    :lol jkjk
    Yeah what I've done deserves harakiri.. sorry!

  7. #7
    Senior Member calmontoya's Avatar
    Join Date
    Feb 2009
    Location
    Pereira, RDA. Colombia
    Posts
    336

    Default Re: New Release date or Glitch?

    Quote Originally Posted by sora View Post
    Yeah what I've done deserves harakiri.. sorry!
    Hey Sora..... (add Linkin Park music)

    What I’ve Done.
    I’ll face myself,
    To cross out what I’ve become.
    Erase myself,
    And let go of what I’ve done.

    HEHEHE.... Just kiddin'

  8. #8
    Administrator nelson's Avatar
    Join Date
    Aug 2007
    Location
    Massachusetts
    Posts
    3,680

    Default Re: New Release date or Glitch?

    Thanks Sora.

    BTW, as some of you have noticed, Sora is now a moderator!

  9. #9
    Senior Member Mailman's Avatar
    Join Date
    Feb 2009
    Location
    Norway
    Posts
    246

    Default Re: New Release date or Glitch?

    Quote Originally Posted by nelson View Post
    Thanks Sora.

    BTW, as some of you have noticed, Sora is now a moderator!
    Yay, I was just wondering while reading the thread! Congrats Sora! Awesome
    "Our remedies oft in ourselves do lie, which we ascribe to Heaven".

  10. #10
    Junior Member ronz's Avatar
    Join Date
    Apr 2009
    Location
    Sweden
    Posts
    23

    Default Re: New Release date or Glitch?

    Quote Originally Posted by nelson View Post
    Thanks Sora.

    BTW, as some of you have noticed, Sora is now a moderator!
    Gratz sora

  11. #11
    Senior Member phoenixgirl's Avatar
    Join Date
    Apr 2008
    Posts
    1,008

    Default Re: New Release date or Glitch?

    Congradulations Sora.

  12. #12
    Administrator sora's Avatar
    Join Date
    Aug 2007
    Posts
    4,170

    Default Re: New Release date or Glitch?

    Thank you. I'm still rolling on the floor with embarrassment.

  13. #13
    Senior Member snipperoth's Avatar
    Join Date
    Mar 2009
    Location
    Alphen Aan De Rijn, Zuid-Holland, Netherlands, Netherlands
    Posts
    569

    Default Re: New Release date or Glitch?

    Gratz you probably earned it

  14. #14
    Senior Member chatterbox's Avatar
    Join Date
    Feb 2008
    Posts
    2,789

    Default Re: New Release date or Glitch?

    imagine if it was a bigger error OMG! it comes out on the 22 July!!!:lol


    congrats on the mod position sora!

Bookmarks

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •