Learn R Programming

rbch (version 0.1-2)

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)

Value

integer

Arguments

x

POSIXct, date/time object.

Author

Bernhard Pfaff

See Also

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

Examples

Run this code
d <- "2017-03-15"
date2int(d)

Run the code above in your browser using DataLab