intRangePeriod: Integer range between two dates

View source: R/UtilFuncs.R

intRangePeriodR Documentation

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)

Arguments

d1

POSIXct, date/time object.

d2

POSIXct, date/time object.

Value

integer

Author(s)

Bernhard Pfaff

See Also

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

Examples

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

rbtc documentation built on Oct. 20, 2024, 5:06 p.m.

Related to intRangePeriod in rbtc...