num_dt_dttm: Get Best Type for a Date Numeric

Description Usage Arguments Value

View source: R/class-date_tbl.R

Description

num_dt_dttm() returns the type that results in a datetime closer to the current datetime. It returns NA_character_ if the input is a missing value.

Usage

1

Arguments

date

A date in numeric format

Value

"date", "datetime", or NA_character_


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