Format Time Difference

format_time_diff(start_time, end_time)

Arguments

start_time

POSIXct object representing the start time.

end_time

POSIXct object representing the end time.

Value

A character string in the format "X:YY minutes" or "Z seconds".