General information
Category:
Coding, syntax & commands
2 alternatives
lnAge = floor(int((val(dtos(tdDate)) - val(dtos(tdDOB)))+10000)/10000) - 1
lnAge = (year(tdDate) - year(tdDOB) - ;
iif( str(month(tdDate),2) + str(day(tdDate),2) < ;
str(month(tdDOB),2) + str(day(tdDOB),2), 1, 0) )
>Hi All:
>
>Given a birth day, say 11/02/56 or 11/02/1956, whats the best way to determine the current age of this person?
>
>Thanks in advance.
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only