Learn R Programming

rbtc (version 0.1-5)

date2int: Convert date/time to integer

Description

This function returns the associated integer time for a given date/time object (coercible as POSIXct object.

Usage

date2int(x)

Arguments

x

POSIXct, date/time object.

Value

integer

See Also

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

Examples

Run this code
# NOT RUN {
d <- "2017-03-15"
date2int(d)
# }

Run the code above in your browser using DataLab