Dear all,

 

I am writing to ask for help to find R code to do the same thing as the
following Splus code:

 

dates <- c("02/27/1992", "02/27/1992", "01/14/1992", "02/28/1992",
"02/01/1992")

timeDate(as.character(dates),in.format="%m/%d/%Y","%a")

[1] Thu Thu Tue Fri Sat

 

Could anyone give me some R codes to get the same results as above(extract
days from dates), please?

 

Thanks in advance!

 

Betty


        [[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to