Skip to contents

Determine if a string matches an ISO 8601 date/time using ordinal date notation

Usage

is_ISO8601_ordinal_datetime(x, ...)

Arguments

x

A vector of character strings to test

...

Arguments passed on to pattern_ISO8601_ordinal_datetime

truncated

Should the date/time be allowed to be truncated? An integer indicating the highest required precision (0=second is required, 1=minute, 2=hour, 3 or 4=day, 5=year, 6=none). A value of 6 will allow an empty string to match.