The type of date I am asking about is the result of an as.Date(). 
inherits(x, "Date")
and 
is(variable, "Date")
works for me. Thank you all.

On 7/20/05, Uwe Ligges <[EMAIL PROTECTED]> wrote:
> Omar Lakkis wrote:
> 
> > Is there a way to test if a variable is a date?
> 
> 
>   is(variable, "Date")
> 
> Uwe Ligges
> 
> 
> > ______________________________________________
> > 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
> 
>

______________________________________________
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

Reply via email to