Learn R Programming

rbch (version 0.1-2)

intRangePeriod: Integer range between two dates

Description

This function returns the associated integer times for the start of date d1 and the end of date d2.

Usage

intRangePeriod(d1, d2)

Value

integer

Arguments

d1

POSIXct, date/time object.

d2

POSIXct, date/time object.

Author

Bernhard Pfaff

See Also

Other UtilityFuncs: bkfee(), blockattime(), blockstats(), date2int(), int2date(), intMaxDay(), intMinDay(), intRangeDay(), timeofblock(), txfee(), txids(), txinids(), txstats(), utxoage(), utxotype(), utxovalue()

Examples

Run this code
d1 <- "2017-03-15"
d2 <- "2017-04-15"
intRangePeriod(d1, d2)
intMinDay(d1)
intMaxDay(d2)

Run the code above in your browser using DataLab