int2date: Convert time stamp to POSIX

View source: R/UtilFuncs.R

int2dateR Documentation

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

Author(s)

Bernhard Pfaff

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

ts <- 1532954868
int2date(ts)

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

Related to int2date in rbtc...