Learn R Programming

RSEIS (version 3.7-4)

secdifv: Seconds Difference

Description

Given two date/time vectors, return seconds diffrence

Usage

secdifv(T1, T2)

Arguments

T1

c(jd, hr, mi, sec)

T2

c(jd, hr, mi, sec)

Value

numeric

seconds

Details

Year is not included in this calculation.

See Also

secdif

Examples

Run this code
# NOT RUN {
T1 <- c(12, 13, 23, 21)
T2 <- c(14, 23, 23, 2)
secdifv(T1, T2)


# }

Run the code above in your browser using DataLab