[R] how to get a date variable from a dataset

R. Michael Weylandt michael.weylandt at gmail.com
Fri Aug 3 20:29:17 CEST 2012


Hi arunkumar1111,

I've asked you many times to work on providing reproducible examples
-- I'll direct you to this page again which describes how to do so:

http://stackoverflow.com/questions/5963269/how-to-make-a-great-r-reproducible-example

without one, there's not much anyone can do, but

inherits(x, "Date")

might help.

Michael


On Fri, Aug 3, 2012 at 7:32 AM, arunkumar1111 <akpbond007 at gmail.com> wrote:
> Hi
>
> I have a find the class of each variable of the data set which is given as
> input. I can able to find the string and the numeric variable. Not able to
> find if the variable is date or not
>
> Can any one help me.
>
>
>
>
> -----
> Thanks in Advance
>         Arun
> --
> View this message in context: http://r.789695.n4.nabble.com/how-to-get-a-date-variable-from-a-dataset-tp4639038.html
> Sent from the R help mailing list archive at Nabble.com.
>
> ______________________________________________
> R-help at 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.



More information about the R-help mailing list