Displaying 2 results from an estimated 2 matches for "24nov2004".
2010 Oct 29
7
date calculation
Hi list,
Could someone explain to me why the following result is not a integer?
> difftime(strptime("24NOV2004", format="%d%b%Y"), strptime("13MAY2004",
>format="%d%b%Y"), units="days")
Time difference of 195.0417 days
I'm using R2.12.0 on WinXP.
Thanks!
...Tao
2010 Oct 31
1
R-help Digest, Vol 92, Issue 31
...6:55:39 -0700 (PDT)
To: r-help@stat.math.ethz.ch
Subject: [R] date calculation
Message-ID: <650906.35534.qm@web30805.mail.mud.yahoo.com>
Content-Type: text/plain; charset=us-ascii
Hi list,
Could someone explain to me why the following result is not a integer?
> difftime(strptime("24NOV2004", format="%d%b%Y"), strptime("13MAY2004",
>format="%d%b%Y"), units="days")
Time difference of 195.0417 days
I'm using R2.12.0 on WinXP.
Thanks!
...Tao
------------------------------
Message: 81
Date: Fri, 29 Oct 2010 17:04:23 -0700 (PDT)
Fr...