format.Date(c, "%d")
format.Date(c, "%m")
format.Date(c, "%y")
format.Date(c, "%Y")

On 01/02/07, stat stat <stat700004@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@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.
>
>
>


-- 
Henrique Dallazuanna

	[[alternative HTML version deleted]]

