Results 1 to 4 of 4

Thread: countingup script - help to make it also display years

  1. #1
    Join Date
    Nov 2004
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default countingup script - help to make it also display years

    Hi,

    Can anyone think of how to modify the countingup script, so that instead of showing just the days, minutes and secs since a past event, a modified script instead displays the years. months and days since an expired date?

    Here the current dynamicdrive script:

    http://www.dynamicdrive.com/dynamici...countingup.htm

    Here the link to the page where I want to replace (at top of page on yellow background) a script (in years. months and days since) I found elsewhere on the web -- it only works in IE, and it is uselessly falling over in other browsers ... http://www.fathercare.org/discrim.htm

    many thanks

    fathercare

  2. #2
    Join Date
    Aug 2004
    Location
    Brighton
    Posts
    1,563
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    This is as close as I could get it:

    http://www.dynamicdrive.com/forums/s...ighlight=count

    cr3ative
    A retired member, drop me a line through my site if you'd like to find me!
    cr3ative media | read the stickies

  3. #3
    Join Date
    Nov 2004
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Hi Cr3ative,

    Thanks for mailing the link. I tried your scripting attempt by configuring for the past date (1999,12,31).

    When viewing in browsers it displays for today's date (2004, 11,19) that:
    4 years, 3 months , 19 hours have passed since then. It's obvious that the months are way out!

    This demonstrates that not everything that's on the web can be believed!

    That aside, what would it take to get a correctly working script? Thanks for now.

    fathercare

  4. #4
    Join Date
    Aug 2004
    Location
    Brighton
    Posts
    1,563
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    [offtopic]

    Heh, I googled "count up script in years" and hit I'm Feeling Lucky and got back to my original thread... : p

    [/offtopic]


    cr3ative
    A retired member, drop me a line through my site if you'd like to find me!
    cr3ative media | read the stickies

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
  •