\Header{seq.POSIXt}{Generate Regular Sequences of Dates}
\keyword{manip}{seq.POSIXt}
\keyword{chron}{seq.POSIXt}
\begin{Description}\relax
The method for \code{\Link{seq}} for data-time classes.\end{Description}
\begin{Usage}
\begin{verbatim}
seq(from, to, by, length.out=NULL, along.with=NULL, ...)
\end{verbatim}
\end{Usage}
\begin{Arguments}
\begin{ldescription}
\item[\code{from}] starting date. Required
\item[\code{to}] end date. Optional. If supplied must be after \code{from}.
\item[\code{by}] increment of the sequence. Optional. See Details.
\item[\code{length.out}] integer, optional. desired length of the sequence.
\item[\code{along.with}] take the length from the length of this argument.
\item[\code{...}] arguments passed to or from other methods.
\end{ldescription}
\end{Arguments}
\begin{Details}\relax
\code{by} can be specified in several ways.
\Itemize{
\item A number, taken to be in seconds.
\item A object of class \code{\Link{difftime}}
\item A character string, containing one of \code{"sec"},
\code{"min"}, \code{"hour"}, \code{"day"}, \code{"week"},
\code{"month"} or \code{"year"}.  This can optionally be
preceded by an integer and a space.
}\end{Details}
\begin{Value}
A vector of class \code{"POSIXct"}.\end{Value}
\begin{SeeAlso}\relax
\code{\Link{DateTimeClasses}}\end{SeeAlso}
\begin{Examples}
\begin{ExampleCode}
## first days of years in the (commonly used) 20th century
seq(ISOdate(1910,1,1), ISOdate(1999,1,1), "years")
## by month
seq(ISOdate(2000,1,1), by="month", length=12)
## quarters
seq(ISOdate(1990,1,1), ISOdate(2000,1,1), by="3 months")
\end{ExampleCode}
\end{Examples}

