Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Age calculations
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00179005
Message ID:
00179127
Vues:
24
>>>greetings to all
>>>
>>>i need the code for calculating the age as follows:
>>>i habe a field where we input the date.
>>>i need to calculate the age on another field based on the current date
>>>
>>>any ideas?
>>>
>>>regards
>>
>>Hi Mike,
>>
>>...and one more for you:
>>lnyears = YEAR(DATE()) - YEAR(ldDateofBirth)
>>IF GOMONTH(ldDateofBirth, lnyears * 12) > DATE()
>>  lnyears = lnyears - 1
>>ENDIF
>
>How about an FAQ entry guys? This one comes up all the time.

Hi Erik,

Have we ever had an FAQ with multiple authors? What we need here is for someone (not me right now) is to gather all these together and post it.
George

Ubi caritas et amor, deus ibi est
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform