The R Project SVN R

Rev

Rev 25099 | Rev 34039 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 25099 Rev 28169
Line 5... Line 5...
5
  Returns a character string of the current system date and time.
5
  Returns a character string of the current system date and time.
6
}
6
}
7
\usage{date()}
7
\usage{date()}
8
\value{
8
\value{
9
  The string has the form \code{"Fri Aug 20 11:11:00 1999"}, i.e.,
9
  The string has the form \code{"Fri Aug 20 11:11:00 1999"}, i.e.,
10
  length 24, since it relies on POSIX' \code{ctime} ensuring the above
10
  length 24, since it relies on POSIX's \code{ctime} ensuring the above
11
  fixed format.  Timezone and Daylight Saving Time are taken account of,
11
  fixed format.  Timezone and Daylight Saving Time are taken account of,
12
  but \emph{not} indicated in the result.
12
  but \emph{not} indicated in the result.
13
}
13
}
14
\references{
14
\references{
15
  Becker, R. A., Chambers, J. M. and Wilks, A. R. (1988)
15
  Becker, R. A., Chambers, J. M. and Wilks, A. R. (1988)
16
  \emph{The New S Language}.
16
  \emph{The New S Language}.
17
  Wadsworth \& Brooks/Cole.
17
  Wadsworth \& Brooks/Cole.
18
}
18
}
-
 
19
\seealso{
-
 
20
  \code{\link{Sys.time}}
-
 
21
}
19
\examples{
22
\examples{
20
(d <- date())
23
(d <- date())
21
nchar(d) == 24
24
nchar(d) == 24
22
}
25
}
23
\keyword{utilities}
26
\keyword{utilities}