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 (October 2000, week 3)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
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


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