powered by
Compute time difference of two POSIXct objects
time_diff(ds1, ds2, units = "days")
POSIXct object
string units of difference, e.g. 'days' or 'secs'.
numeric time difference