Age: Difference between revisions
Ttenbergen (talk | contribs) m removed supercategories, tweaked template calls |
|||
| Line 28: | Line 28: | ||
====SAS ==== | ====SAS ==== | ||
*Age=floor((intck('month',Birth,R_Adm) - (day(R_Adm) < day(Birth))) / 12) | *Age=floor((intck('month',Birth,R_Adm) - (day(R_Adm) < day(Birth))) / 12) | ||
**where Birth = Date of Birth and R_Adm = (Accept DtTm if available, Arrive DtTm otherwise) | **where Birth = Date of Birth and R_Adm = (Accept DtTm if available, Arrive DtTm otherwise) | ||
This formula is consistent with the calculation in Access. | |||
== Related fields == | == Related fields == | ||