Dear Julio,

format(as.Date("2005135","%Y%j"),"%Y/%b/%d")


Here a nice description of possibilities: 
http://statistics.berkeley.edu/classes/s133/dates.html


Matteo

>>> Julio Oliveira  02.12.12 18.34 Uhr >>>
Dears,

I have dates of the type YYYYddd (ex.: 2005135), where 2005 is the year and 135 
is day of the year.

I need convert this format for year/month/day (%Y/%b%d).

Thanks.

Julio
_______________________________________________
R-sig-Geo mailing list
R-sig-Geo@r-project.org
https://stat.ethz.ch/mailman/listinfo/r-sig-geo

_______________________________________________
R-sig-Geo mailing list
R-sig-Geo@r-project.org
https://stat.ethz.ch/mailman/listinfo/r-sig-geo

Reply via email to