Skip to content

Commit

Permalink
Docs update - expand on what is time1 and times in difftime (PR#18734).
Browse files Browse the repository at this point in the history
git-svn-id: https://svn.r-project.org/R/trunk@86646 00db46b3-68df-0310-9c12-caf00c1e9a41
  • Loading branch information
kalibera committed May 30, 2024
1 parent 5c3010a commit d47ad66
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/library/base/man/difftime.Rd
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
% File src/library/base/man/difftime.Rd
% Part of the R package, https://www.R-project.org
% Copyright 1995-2023 R Core Team
% Copyright 1995-2024 R Core Team
% Distributed under GPL 2 or later

\name{difftime}
Expand Down Expand Up @@ -65,7 +65,8 @@ as.difftime(tim, format = "\%X", units = "auto", tz = "UTC")
}
\details{
Function \code{difftime} calculates a difference of two date/time
objects and returns an object of class \code{"difftime"} with an
objects, \code{time1} (end) and \code{time2} (beginning), and
returns an object of class \code{"difftime"} with an
attribute indicating the units. The
\code{\link[=S3groupGeneric]{Math}} group method provides
\code{\link{round}}, \code{\link{signif}}, \code{\link{floor}},
Expand Down

0 comments on commit d47ad66

Please sign in to comment.