embr.difftime: Time Differences Formats interval creation

Description Usage Arguments

View source: R/utils.R

Description

Time format used is always "%Y-%m-%d %H:%M:%S" for time or "%Y-%m-%d" for date

Usage

1
2
embr.difftime(date1, date2, timeFormat = "%Y-%m-%d %H:%M:%S",
  units = "secs")

Arguments

date1

/date-time or date objects.

date2

/date-time or date objects.

timeFormat

format of both dates or times

timeUnits

units


marcialbaptista/dataUtilities documentation built on May 21, 2017, 6:43 p.m.