date_to_dt_dttm: Coerce Date Argument to 'Date' or datetime

Description Usage Arguments Details Value

View source: R/class-date_tbl.R

Description

date_to_dt_dttm() will coerce the input to a scalar Date or datetime object if possible; if not, it will throw an error.

Usage

1

Arguments

date

An object to be coerced to Date or datetime

Details

date_to_dttm() returns a Date when:

date_to_dt_dttm() returns a datetime when:

Value

A Date or datetime object, depending on the input


jesse-smith/covidprod documentation built on Oct. 11, 2021, 5:34 p.m.