intMinDay: Integer representation of a day-begin

View source: R/UtilFuncs.R

intMinDayR Documentation

Integer representation of a day-begin

Description

This function returns the associated integer time for the start of a specific day (i.e., 00:00:00 time).

Usage

intMinDay(x)

Arguments

x

POSIXct, date/time object.

Value

integer

Author(s)

Bernhard Pfaff

See Also

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

Examples

d1 <- "2017-03-15"
d1 <- intMinDay(d1)
d2 <- "2017-03-15 00:00:00"
d2 <- intMinDay(d2)
identical(d1,d2)

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

Related to intMinDay in rbtc...