Date: Mon, 16 Oct 2000 11:59:35 -0400
Reply-To: Ellen Rains <ERains@NERI.ORG>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Ellen Rains <ERains@NERI.ORG>
Subject: Calculating weeks and days
Content-Type: text/plain; charset="iso-8859-1"
I need to calculate the number of weeks and days between two dates. I am
using the following code, but not getting the right results.
weeks_days = round((date1-date2)\7),1.);
Any suggestions???
Ellen
|