find_dif: Helper function to find the time difference between two given...

View source: R/missing_timestamps.R

find_difR Documentation

Helper function to find the time difference between two given timestamps.

Description

Helper function to find the time difference between two given timestamps.

Usage

find_dif(time1, time2)

Arguments

time1

POSIXt or Date object.

time2

POSIXt or Date object.

Value

String, specifying the time interval between time1 and time2. It contains a integer and the unit, for e.g., 5 weeks, 6 months, 14 hours, etc.


cleanTS documentation built on July 9, 2023, 5:15 p.m.