Skip to contents

max.Date returns an integer and -Inf for a set of NA dates. This is usually inconvenient.

Usage

max_date(x, ...)

Arguments

x

a vector of dates

...

ignored

Value

a date. `0001-01-01`` if there is no well defined minimum.

Examples

max_date(NA)
#> [1] "1-01-01"