Skip to contents

Is it a day-month-year date with an abbreviated month?

Usage

is_abbr_month_date(x)

Arguments

x

A character vector.

Value

Logical vector; TRUE for e.g. 1-Jul-14 or 21/Nov/2012.

Examples

is_abbr_month_date(c("1-Jul-14", "21/Nov/2012", NA))
#> [1] TRUE TRUE   NA