Learn R Programming

rbtc (version 0.1-5)

int2date: Convert time stamp to POSIX

Description

This function returns the associated POSIXct time to the time stamp integer in a block header.

Usage

int2date(x)

Arguments

x

integer, the block header time stamp

Value

An object of class POSIXct, POSIXt

References

https://en.bitcoin.it/wiki/Block_timestamp

See Also

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

Examples

Run this code
# NOT RUN {
ts <- 1532954868
int2date(ts)
# }

Run the code above in your browser using DataLab