intMaxDay: Integer representation of a day-end

Description Usage Arguments Value Author(s) See Also Examples

View source: R/UtilFuncs.R

Description

This function returns the associated integer time for the end of a specific day (i.e., 23:59:59 time).

Usage

1

Arguments

x

POSIXct, date/time object.

Value

integer

Author(s)

Bernhard Pfaff

See Also

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

Examples

1
2
3
4
5
d1 <- "2017-03-15"
d1 <- intMaxDay(d1)
d2 <- "2017-03-15 23:59:59"
d2 <- intMaxDay(d2)
identical(d1,d2)

rbtc documentation built on May 2, 2019, 12:20 p.m.

Related to intMaxDay in rbtc...