Skip to contents

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.