Skip to contents

Check whether vector is a date

Usage

is.Date(x)

Arguments

x

a vector to check

Value

TRUE if dates, FALSE otherwise

Examples

is.Date(Sys.Date())
#> [1] TRUE