Re: [R] date from weeknumber

2010-07-20 Thread Gabor Grothendieck
On Tue, Jul 20, 2010 at 6:37 PM, H Rao wrote: > Hi, > > Is there a function to get the last(or first) day of the week, given the > week number of the year? > > For eg, week number for 7/20 is 29 as obtained by format(Sys.Date(),"%U"), > is there a function which returns 7/25 - the last day of week

Re: [R] date from weeknumber

2010-07-20 Thread David Winsemius
On Jul 20, 2010, at 6:37 PM, H Rao wrote: Hi, Is there a function to get the last(or first) day of the week, given the week number of the year? For eg, week number for 7/20 is 29 as obtained by format(Sys.Date(),"%U"), is there a function which returns 7/25 - the last day of week # 29

[R] date from weeknumber

2010-07-20 Thread H Rao
Hi, Is there a function to get the last(or first) day of the week, given the week number of the year? For eg, week number for 7/20 is 29 as obtained by format(Sys.Date(),"%U"), is there a function which returns 7/25 - the last day of week # 29 TIA, Rao. [[alternative HTML version delete