Re: [R] number of trading days

2008-05-21 Thread Dirk Eddelbuettel
On Wed, May 21, 2008 at 04:44:32AM -0700, threshold wrote: > > Hi, I work on the date format: mmdd. I would like to calculate the number > of (working or trading) days between two of such specified dates in specific > year at US stock exchange OR at least with respect to 252-days year. > > Wh

[R] number of trading days

2008-05-21 Thread threshold
Hi, I work on the date format: mmdd. I would like to calculate the number of (working or trading) days between two of such specified dates in specific year at US stock exchange OR at least with respect to 252-days year. What I did so far was the conversion (example): x<-20060213; y<-20060402