LISTSERV at the University of Georgia
Menubar Imagemap
Home Browse Manage Request Manuals Register
Previous messageNext messagePrevious in topicNext in topicPrevious by same authorNext by same authorPrevious page (January 2004, week 4)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Fri, 23 Jan 2004 10:52:59 -0200
Reply-To:     Silvano Cesar da Costa <silvano@UEL.BR>
Sender:       "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:         Silvano Cesar da Costa <silvano@UEL.BR>
Subject:      Dates from Excel
Content-Type: text/plain; charset="iso-8859-1"


I imported two dates (Data and Nasc) from Excel and it looks like:

Data Nasc

02OCT2002:00:00:00 01OCT1999:00:00:00 04OCT2002:00:00:00 15JUN2002:00:00:00 10OCT2002:00:00:00 01APR2002:00:00:00 01OCT2002:00:00:00 01JAN1998:00:00:00 04OCT2002:00:00:00 20FEB1997:00:00:00 15SEP2002:00:00:00 18MAR2002:00:00:00 01OCT2002:00:00:00 18MAR2002:00:00:00 02OCT2002:00:00:00 12FEB2002:00:00:00 03OCT2002:00:00:00 01AUG1994:00:00:00 04OCT2002:00:00:00 04OCT2001:00:00:00

I have 286 data and I would like to calculate the age: AGE = DATA - NASC.

How could I to do this??? Some idea??

Thanks a lot,

--------------------------------------------------------------- Silvano Cesar da Costa Departamento de Matemática Aplicada Centro de Ciências Exatas Universidade Estadual de Londrina Campus Universitário Cx. Postal 6001 CEP 86051-990 Londrina - PR Fone: (43) 3371 4346 ---------------------------------------------------------------

Back to: Top of message | Previous page | Main SAS-L page