[R] Extracting part of date variable
Gabor Grothendieck
ggrothendieck at gmail.com
Thu Feb 1 12:57:57 CET 2007
Read the help desk article in R News 4/1 about dates and note the table at the
end of it, in particular.
On 2/1/07, stat stat <stat700004 at yahoo.co.in> wrote:
> Dear all,
>
> Suppose I have a date variable:
>
> c = "99/05/12"
>
> I want to extract the parts of this date like month number, year and day. I can do it in SPSS. Is it possible to do this in R as well?
>
> Rgd,
>
>
> ---------------------------------
> Here's a new way to find what you're looking for - Yahoo! Answers
> [[alternative HTML version deleted]]
>
>
>
> ______________________________________________
> R-help at stat.math.ethz.ch 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.
>
>
>
More information about the R-help
mailing list