embr.timediff: Time Differences Time difference in units Function difftime...

Description Usage Arguments

View source: R/utils.R

Description

Time Differences Time difference in units Function difftime calculates a difference of two date/time objects and returns an object of class "difftime" with an attribute indicating the units. Time format used is always "%Y-%m-%d %H:%M:%S" for time or "%Y-%m-%d" for date

Usage

1
2
embr.timediff(time1, time2, format = "%Y-%m-%d %H:%M:%S",
  units = "secs")

Arguments

time1

/date-time or date objects.

time2

/date-time or date objects.

units

character string. Units in which the results are desired. Can be abbreviated.


marcialbaptista/dataUtilities documentation built on May 21, 2019, 11:28 a.m.