int_length {lubridate} | R Documentation |
Get the length of an interval in seconds
int_length(int)
int |
An interval object |
numeric The length of the interval in seconds. A negative number connotes a negative interval
int_start
, int_shift
, int_flip
int <- interval(ymd("2001-01-01"), ymd("2002-01-01")) # 2001-01-01 UTC--2002-01-01 UTC int_length(int) # 31536000