Learn R Programming

midasml (version 0.1.10)

diff_time_mf: Computes the difference between two dates.

Description

Computes the difference between two dates.

Usage

diff_time_mf(
  time1,
  time2,
  origin,
  units = c("auto", "secs", "mins", "hours", "days", "weeks")
)

Arguments

time1

date 1.

time2

date 2.

origin

date origin.

units

units.

Value

numeric value of difference in two dates.