[R] From date to week day

Stephan Kolassa Stephan.Kolassa at gmx.de
Mon May 24 21:08:13 CEST 2010


Or:
weekdays(as.Date("2010-05-24"))

HTH,
Stephan


Wu Gong schrieb:
> ?strptime will helps.
> 
> 
>> d <- as.Date("01/05/2007","%m/%d/%Y")
>> format(d, "%A, %b %d, %Y")
> [1] "Friday, Jan 05, 2007"
> 
> -----
> A R learner.



More information about the R-help mailing list