CalcDateTrunc: Calculate date object from POSIXct time

Description Usage Arguments Value

View source: R/utilities.R

Description

CalcDateTrunc takes a POSIXct object and outputs a corresponding date object. POSIXct times are truncated to a date, not rounded (e.g., 03/15/2014 23:00 will become 03/15/2014).

Usage

1
CalcDateTrunc(timePOSIXct, timeZone = "UTC")

Arguments

timePOSIXct

Time in POSIXct format

timeZone

Time zone (DEFAULT="UTC")

Value

Date object


mccreigh/rwrfhydro documentation built on May 12, 2018, 3:08 a.m.