Age question?

Discussion in 'Chit Chat' started by Peter Simpson, Feb 7, 2015.

  1. Peter Simpson

    Peter Simpson Expert Licensed User

    If somebody is 1,364,862,103 (1364862103) seconds old, how old are they?

    I was going to post this question using milliseconds instead :)
    lemonisdead likes this.
  2. derez

    derez Expert Licensed User

    This kind of question is strange when coming from a man 43 years old
    NJDude, RandomCoder and lemonisdead like this.
  3. lemonisdead

    lemonisdead Well-Known Member Licensed User

    A 43 years and 102 days old man. Strangely strange :rolleyes:
    RandomCoder likes this.
  4. JakeBullet70

    JakeBullet70 Well-Known Member Licensed User

    A 43 years and 102 days old woman?
    Just to be fare. :)
    lemonisdead and RandomCoder like this.
  5. wonder

    wonder Expert Licensed User

    I was born in 437886900 (Unix Time).
    lemonisdead likes this.
  6. Cableguy

    Cableguy Expert Licensed User

    I'm not even sure of my own age, how would I be about someone else's???
    Peter Simpson and lemonisdead like this.
  7. Erel

    Erel Administrator Staff Member Licensed User

    There is no single correct answer. It depends on how you measure age. If you measure it like most human measure age then you cannot accurately answer it because of leap years and DST changes.
    lemonisdead and ilan like this.
  8. derez

    derez Expert Licensed User

    The correct answer is defined by the context of the question/problem. When asked for age you answer years, sometimes "I'm almost 5" , maybe even years + months but whoever gave his age by years + days ?
    Why have you included numberformat method in b4x ? if the correct answer is the one with 10 or more digits after the dot we should never round it !
  9. ilan

    ilan Expert Licensed User

    you can calculate it erel because the question was: 'if someone is ..." that means he is now that old so just calculate from now(2015) the leap years and you will get the exact answer...
    Last edited: Feb 8, 2015
    Erel likes this.
  10. Erel

    Erel Administrator Staff Member Licensed User

    I agree. As I understand the question accuracy is important (if you are starting with the number of seconds then you expect the number of days to be correct).

    As Ilan wrote, if the number of seconds is tied to a specific calendar date (today) then we can indeed calculate the number of years and days.
  11. Peter Simpson

    Peter Simpson Expert Licensed User

    Just the general age was good, nice one :)

    But @derez who said that I was 43?
    My actual age is not on any viewable profiles on the www, only minimal info is always given, name, city and country and sex. No photographs either.

    Sorry I've not been on this post of mine, but I've had really bad influenza in the last few days and today I'm lucky that I'm even able to type on my laptops :(
    Last edited: Feb 8, 2015
  12. derez

    derez Expert Licensed User

    I din't really know, it was just a workaround way to answer.
    Peter Simpson likes this.
  13. Troberg

    Troberg Well-Known Member Licensed User

    Don't forget leap seconds. They are unpredictable little buggers...
    Erel likes this.
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice