s-news
[Top] [All Lists]

Re: dates to day calculation

To: <khou@incyte.com>, <s-news@lists.biostat.wustl.edu>
Subject: Re: dates to day calculation
From: <Agin.Patrick@hydro.qc.ca>
Date: Wed, 26 Oct 2005 16:47:35 -0400
Thread-index: AcXQB2rGl0ouVJnISrioXWWSnUU4pQKZChwQAACs6bA=
Thread-topic: [S] dates to day calculation

> dates("2/16/2004")-dates("12/23/2003")

[1] 55

attr(, "format"):

[1] "h:m:s"

attr(, "class"):

[1] "times"

 

Hope that helps,

Patrick

 


From: s-news-owner@lists.biostat.wustl.edu [mailto:s-news-owner@lists.biostat.wustl.edu] On Behalf Of Kevin Hou
Sent: Wednesday, October 26, 2005 4:29 PM
To: s-news@lists.biostat.wustl.edu
Subject: [S] dates to day calculation

 

 

Does anyone know how to calculate days from dates? I need to calculate a study day from dates. Specifically, how to  calculate a difference between 12/23/2003 and 2/16/2004?

May tanks for any help.

Kevin

************************************************************
The contents of this message are intended only for the use
of the individual to which they are addressed and may
contain confidential or privileged information. If you are
not the intended recipient, you are hereby notified that
any use, distribution, disclosure or copying of this
message, any attachment or the information contained
therein is strictly prohibited. If you have received this
transmission in error, please notify the original sender
immediately and delete all copies of this message, along
with any attachments.   Thank you.
************************************************************
<Prev in Thread] Current Thread [Next in Thread>