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]]


