Age Counter-VBForums
Results 1 to 6 of 6

Thread: Age Counter

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Dec 2002
    Location
    New York
    Posts
    74

    Age Counter

    I am looking for an age counter. It looks like a regular hit counter on ones page but it tells you your age, down to the second.

    Know of a place where I can get one?

  2. #2
    ASP.NET Moderator mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,174

    Re: Age Counter

    I thought I had answered this

    You have the option of creating this yourself in javascript, it really isn't very difficult. It's simply a matter of a bit of subtraction and conversion. Are you interested in doing this yourself or do you simply want to copy-paste one?

  3. #3

    Thread Starter
    Lively Member
    Join Date
    Dec 2002
    Location
    New York
    Posts
    74

    Re: Age Counter

    well for now cut and paste the code, but learning how to use javascript would be a good thing for me to do...

  4. #4
    ASP.NET Moderator mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,174

    Re: Age Counter

    Do a search for javascript date difference. That'll be the logic you use to calculate. You then need to supply the user with a way of inputing their date of birth. For now, use the logic you find with a hardcoded date.

  5. #5
    New Member
    Join Date
    Aug 2011
    Posts
    1

    Re: Age Counter

    i want to write coding to calculate present age from birthday date

  6. #6
    Freelancer akhileshbc's Avatar
    Join Date
    Jun 2008
    Location
    Trivandrum, Kerala, India
    Posts
    7,572

    Re: Age Counter

    Welcome to the forums
    Quote Originally Posted by skharipriya738 View Post
    i want to write coding to calculate present age from birthday date


    If my post was helpful to you, then express your gratitude using Rate this Post.
    And if your problem is SOLVED, then please Mark the Thread as RESOLVED (see it in action - video)
    My system: AMD FX 6100, Gigabyte Motherboard, 8 GB Crossair Vengance, Cooler Master 450W Thunder PSU, 1.4 TB HDD, 18.5" TFT(Wide), Antec V1 Cabinet

    Social Group: VBForums - Developers from India

    Skills: PHP, MySQL, jQuery, VB.Net, VB6, Photoshop...

Posting Permissions

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



Featured


Click Here to Expand Forum to Full Width

Survey posted by VBForums.