Date: Thu, 21 Feb 2002 12:26:15 -0500
Reply-To: Zhonghe Li <zli@HSPH.HARVARD.EDU>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Zhonghe Li <zli@HSPH.HARVARD.EDU>
Subject: how to convert numeric to date variables?
Content-Type: multipart/alternative;
Hi everyone,
We have four numeric variables: brithdate 19680905 (it is of YYYYMMDD sequence but a numeric variable); and then we have Year, Month, and Day Variables of numeric type. We need to convert it to a SAS date variable so that we can get the age. Can you tell me how to do this?
Thank you.
Elena
[text/html]
|