Rdocumentation
powered by
Learn R Programming
lubridate (version 0.2.6)
subtract_dates: Subtracting date-time objects
Description
subtract_dates subtracts two objects, both of which can be date-time objects. Lubridate is built so that you don't need to use subtract_dates but can use regular math expressions instead.
Usage
subtract_dates(e1, e2)
Arguments
e1
a numeric or date-time object
e2
a numeric or date-time object