Learn R Programming

TickExec (version 1.1)

TimeDiff: Find Difference Between Timestamps

Description

Only work with intraday time without date. origin time NOT necessarily less than ending time. Differnece must be given in seconds.

Usage

TimeDiff(time1, time2)

Arguments

time1
first timestamp, 5 or 6 digits.
time2
second timestamp, 5 or 6 digits.

Value

An integer, possibly negative.