I struggle mightily with dates in R and could do this pretty easily in SPSS, but I would love to stay within R for my project.
I have a date column in my data fram
> d = as.Date("2003-10-09", format="%Y-%m-%d") > format(d, "%m-%d") [1] "10-09"