compute_time_elapsed: Compute time difference

Description Usage Arguments Details Value See Also

Description

Computes the difference in time between two Date-time values in a specified time 'unit'.

Usage

1
2
compute_time_elapsed(date_start = NULL, date_end = NULL, type = c("year",
  "month", "day", "hour"))

Arguments

date_start

Date-time (or character that can be converted to Date-time).

date_end

Date-time (or character that can be converted to Date-time).

type

character. 'unit' to use to calculate time difference. One of 'year', 'month', 'day', or 'hour'.

Details

Called in compute_timefilter_facet_at().

Value

numeric.

See Also

https://stackoverflow.com/


tonyelhabr/tetext documentation built on May 14, 2019, 8:03 a.m.