CalcDateTrunc: Calculate date object from POSIXct time

Description Usage Arguments Value

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


NCAR/rwrfhydro documentation built on Feb. 28, 2021, 12:47 p.m.