Validates the YYYY-MM-DD format with calendar correctness, including leap year handling.
Arguments
- x
(any)
Object to check.
Value
TRUE if x is a valid ISO 8601 date string, FALSE otherwise.
Examples
is_iso_date("2024-01-15")
#> [1] TRUE
is_iso_date("2024-02-30")
#> [1] FALSE