Concept: Age - How to Calculate Using MCHP's Administrative Data

Concept Description

Last Updated: 2005-02-05

Introduction

A. AGE AS OF SOME CONSTANT DATE

B. AGE AT MONTH END OF THE CLAIM MONTH

C. EXACT AGE FOR A PARTICULAR DATE

D. CENTURY ADJUSTMENT

E. CALCULATING AGE IN YEARS AND DAYS (from SAS.com)

  1. Version 8 base SAS software includes a new function called YRDIF . See SAS Code below for an example.

  2. Another function available in version 8 and later, DATDIF is very useful for calculating the number of years and days between any two dates. See SAS Code below for an example.

SAS code and formats 

Related concepts 

Related terms 

Links