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)

rbch documentation built on Sept. 28, 2024, 1:07 a.m.

Related to date2int in rbch...