calc_diff {dmtools}R Documentation

Function for calculating the difference between two dates

Description

Function for calculating the difference between two dates

Usage

calc_diff(st_inter, dt_item)

Arguments

st_inter

An interval. An object of interval.

dt_item

A date item. An object of date.

Value

An integer scalar. Differences between the two dates.


[Package dmtools version 0.2.6 Index]