Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 91bd4ee969
Fetching contributors…

Cannot retrieve contributors at this time

31 lines (29 sloc) 0.544 kb
\name{second}
\alias{second}
\alias{second<-}
\title{Get/set seconds component of a date-time.}
\usage{
second(x)
}
\arguments{
\item{x}{a date-time object}
}
\value{
the seconds element of x as a decimal number
}
\description{
Date-time must be a POSIXct, POSIXlt, Date, chron,
yearmon, yearqtr, zoo, zooreg, timeDate, xts, its, ti,
jul, timeSeries, and fts objects.
}
\examples{
x <- ymd("2012-03-26")
second(x)
second(x) <- 1
second(x) <- 61
second(x) > 2
}
\keyword{chron}
\keyword{manip}
\keyword{methods}
\keyword{utilities}
Jump to Line
Something went wrong with that request. Please try again.