Announcement

Collapse
No announcement yet.

Code birthday translate on age

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Code birthday translate on age

    Hi Guys,

    I'm new to the forum and i hope youcan help me for editing fifa.

    I know theprocess for opened table and fifa extract the values for export in PHP.

    But i would like to understand how the code fifa calcualtes the date of birthday it back in age.



    Example:

    table----->player

    playerid--------->151515(name Mouse)

    bithday-----150920



    The code birthday 150920 is equal to age 17



    How turns that code)150920) in ages(17)?



    Hoping you can help me



    Thank.



    p.s



    I soprry my english but it is the fault the translator of google

    #2
    Re: Code birthday translate on age

    That's easy it you're using excel.

    1.Copy 150920 to excel (for example to cell #A1)

    2. In B2 cell write this function (in function bar) =A1-115859

    3. The result should be 35061

    4.In main tools open the tab with number formating and choose "date"

    Result: 1995-12-28

    Comment


      #3
      Re: Code birthday translate on age

      Ok Thanks for the reply. Finally one that I began to give some information.

      I then convert it into php code but I have to have at least the year of birth so I mostly know what format that number.

      Maybe slowly get there



      two question:

      1. what is the number 115859?

      2. the number exclel issuing from the subtraction ----> 35,061 in what format?

      because if you at least know the size of the number that comes as a result by the excel then find a way to convert it to php.

      Thanks again you have been invaluable.

      Comment


        #4
        Re: Code birthday translate on age

        Ah, yes.. The result (35061) should be copied to the notepad so it will have no functions over it.

        Comment

        Working...
        X