\HeaderA{Dates}{Date Class}{Dates}
\aliasA{as.data.frame.Date}{Dates}{as.data.frame.Date}
\aliasA{c.Date}{Dates}{c.Date}
\aliasA{Date}{Dates}{Date}
\aliasA{Math.Date}{Dates}{Math.Date}
\aliasA{mean.Date}{Dates}{mean.Date}
\aliasA{print.Date}{Dates}{print.Date}
\aliasA{split.Date}{Dates}{split.Date}
\aliasA{Summary.Date}{Dates}{Summary.Date}
\aliasA{summary.Date}{Dates}{summary.Date}
\aliasA{[.Date}{Dates}{[.Date}
\aliasA{[<\Rdash.Date}{Dates}{[<.Rdash..Date}
\aliasA{[[.Date}{Dates}{[[.Date}
\keyword{utilities}{Dates}
\keyword{chron}{Dates}
\begin{Description}\relax
Description of the class \code{"Date"} representing calendar dates.
\end{Description}
\begin{Usage}
\begin{verbatim}
## S3 method for class 'Date':
summary(object, digits = 12, ...)
\end{verbatim}
\end{Usage}
\begin{Arguments}
\begin{ldescription}
\item[\code{object}] An object summarized.
\item[\code{digits}] Number of significant digits for the computations.
\item[\code{...}] Further arguments to be passed from or to other methods.
\end{ldescription}
\end{Arguments}
\begin{Details}\relax
Dates are represented as the number of days since 1970-01-01, with
negative values for earlier dates.  They are always printed
following the rules of the current Gregorian calendar, even though
that calendar was not in use long ago (it was adopted in 1752 in
Great Britain and its colonies).

It is intended that the date should be an integer, but this is not
enforced in the internal representation.  Fractional days will be
ignored when printing.  It is possible to produce fractional days via
the \code{mean} method or by adding or subtracting (see
\code{\LinkA{Ops.Date}{Ops.Date}}).
\end{Details}
\begin{SeeAlso}\relax
\code{\LinkA{Sys.Date}{Sys.Date}} for the current date.

\code{\LinkA{Ops.Date}{Ops.Date}} for operators on \code{"Date"} objects.

\code{\LinkA{format.Date}{format.Date}} for conversion to and from character strings.

\code{\LinkA{plot.Date}{plot.Date}} and
\code{\LinkA{hist.Date}{hist.Date}} for plotting.

\code{\LinkA{weekdays}{weekdays}} for convenience extraction functions.

\code{\LinkA{seq.Date}{seq.Date}}, \code{\LinkA{cut.Date}{cut.Date}},
\code{\LinkA{round.Date}{round.Date}} for utility operations.

\code{\LinkA{DateTimeClasses}{DateTimeClasses}} for date-time classes.
\end{SeeAlso}
\begin{Examples}
\begin{ExampleCode}
(today <- Sys.Date())
format(today, "%d %b %Y")  # with month as a word
(tenweeks <- seq(today, length.out=10, by="1 week")) # next ten weeks
weekdays(today)
months(tenweeks)
as.Date(.leap.seconds)
\end{ExampleCode}
\end{Examples}

