date2int: Convert date/time to integer

View source: R/UtilFuncs.R

date2intR Documentation

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

Author(s)

Bernhard Pfaff

See Also

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

Examples

d <- "2017-03-15"
date2int(d)

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

Related to date2int in rbtc...