Need a simple countdown clock - input in seconds - output d,h,m,s

Discussion in 'JavaScript' started by peppy, Jul 20, 2010.

  1. #1
    Greetings,

    All I need is a simple countdown clock where I can input a random total number of seconds from a variable and it will display a countdown containing days, hours, minutes and seconds.

    For example:

    input: 95500 seconds
    Output: 1d 2h 31m 40s


    Thanks
     
    peppy, Jul 20, 2010 IP
  2. s_ruben

    s_ruben Active Member

    Messages:
    735
    Likes Received:
    26
    Best Answers:
    1
    Trophy Points:
    78
    #2
    s_ruben, Jul 21, 2010 IP
  3. ashishhbti

    ashishhbti Peon

    Messages:
    67
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    $s_ruben

    thanks for script.. i was also looking for something like this.
     
    ashishhbti, Jul 21, 2010 IP