1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
|
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/Dates.r
\name{is.Date}
\alias{is.Date}
\title{Is x a Date object?}
\usage{
is.Date(x)
}
\arguments{
\item{x}{an R object}
}
\value{
TRUE if x is a Date object, FALSE otherwise.
}
\description{
Is x a Date object?
}
\examples{
is.Date(as.Date("2009-08-03")) # TRUE
is.Date(difftime(now() + 5, now())) # FALSE
}
\seealso{
\code{\link[=is.instant]{is.instant()}}, \code{\link[=is.timespan]{is.timespan()}}, \code{\link[=is.POSIXt]{is.POSIXt()}}
}
\keyword{chron}
\keyword{logic}
|