Countdown

Discussion in 'Jiggy Runtime Development' started by psychofish25, May 6, 2008.

  1. psychofish25

    psychofish25 New Member

    Joined:
    Nov 20, 2007
    Messages:
    259
    Likes Received:
    3
    I want to make an app that displays the hours, minutes, and seconds remaining until the next 1:20 PM. It's an inside joke with my friends for a class and I was wondering if someone could possible write an app for this or at least tell me how to make a countdown type thing.
  2. Axis

    Axis Super Moderator Staff Member

    Joined:
    Dec 2, 2007
    Messages:
    6,288
    Likes Received:
    133
    Device:
    iPhone 4S (White)
    There is an application in Installer called "iCountdown". You can set a time and date, and watch the seconds tick away.
  3. psychofish25

    psychofish25 New Member

    Joined:
    Nov 20, 2007
    Messages:
    259
    Likes Received:
    3
    Yea I know about that, but I want it to say like UNTIL HELL IS OVER at the bottom of it. Any help is appreciated.
  4. Axis

    Axis Super Moderator Staff Member

    Joined:
    Dec 2, 2007
    Messages:
    6,288
    Likes Received:
    133
    Device:
    iPhone 4S (White)
    Can't you name the "event" as "UNTIL HELL IS OVER", or whatever you are trying to do?

    For example, for my last day of school, which is June 9, I can make a countdown entitled "Graduation", or "Last Day of School."
  5. hakk79

    hakk79 Well-Known Member

    Joined:
    Feb 21, 2008
    Messages:
    3,239
    Likes Received:
    60
    Device:
    iPhone 4 (Black)
    Nice, but this is what we have the clock app for. xD

    Just kidding
  6. psychofish25

    psychofish25 New Member

    Joined:
    Nov 20, 2007
    Messages:
    259
    Likes Received:
    3
    haha be quiet

    oh ok i didnt know i could make the subject, sorry ill just use iCountdown
  7. PAEz

    PAEz New Member

    Joined:
    Jan 29, 2008
    Messages:
    201
    Likes Received:
    10
    One of the joys of Jiggy is being able to make crap for yourself.
    Heres some code thatll countdown till the next 1pm for ya.....

    Code:
    function checkTime(i)
    {
    if (i<10)
      {
      i="0" + i;
      }
    return i;
    }
    
    var countdown=new Timer(1);
    countdown.onTimer = function startTime()
    {
    var today=new Date();
    
    HourDiff=12-today.getHours();
    if (HourDiff<0)HourDiff+=24;
    MinuteDiff=60-today.getMinutes();
    SecondsDiff=60-today.getSeconds();
    
    log(HourDiff+":"+MinuteDiff+":"+SecondsDiff);
    }
    
    countdown.start();
  8. rokrboy

    rokrboy Retired Moderator

    Joined:
    Sep 29, 2007
    Messages:
    2,475
    Likes Received:
    29
    Device:
    iPod touch
    There are also websites that let you do that too.

Share This Page