Skip to content
Prev 268924 / 398502 Next

Convert week value to date

Hi Michael

I am not sure of your decimal format of the week but if you can 
convert it to a calendar day of the year by multiplying by 7
then you could you could use eg if 321 was the calendar day

  strptime(paste(2010, 321,sep=" "),format="%Y %j")
[1] "2010-11-17"

Regards

Duncan


Duncan Mackay
Department of Agronomy and Soil Science
University of New England
ARMIDALE NSW 2351
Email: home mackay at northnet.com.au
At 06:52 18/08/2011, you wrote: