Difference of two 'timeDate' objects
base-difftimeDate.RdReturns the difference of two 'timeDate' objects.
Usage
difftimeDate(time1, time2,
units = c("auto", "secs", "mins", "hours", "days", "weeks"))Details
difftimeDate is analogous to base::difftime for
"timeDate" arguments.
difftimeDate takes a difference of two "timeDate"
objects and returns an object of class "difftime" with an
attribute indicating the units.
See also
diff.timeDate for differencing a "timeDate" object.